jquense / react-big-calendar

gcal/outlook like calendar component
http://jquense.github.io/react-big-calendar/examples/index.html
MIT License
7.68k stars 2.22k forks source link

Example for custom `eventWrapper` component on a `DndResizableCalendar` #2554

Open statusunknown418 opened 4 months ago

statusunknown418 commented 4 months ago

Check that this is really a bug

Reproduction link

https://jquense.github.io/react-big-calendar/examples/index.html?path=/docs/addons-drag-and-drop-props--on-drag-start

Bug description

there's no example and I need a way to implement a custom eventWrapper like what toggl does

Expected Behavior

No response

Actual Behavior

No response

react-big-calendar version

1.11.2

React version

18

Platform/Target and Browser Versions

macOS Arc

Validations

Would you like to open a PR for this bug?

nourbenamor2001 commented 4 months ago

Check these links https://jquense.github.io/react-big-calendar/examples/index.html?path=/docs/additional-examples-drag-and-drop--with-custom-event-wrapper & https://jquense.github.io/react-big-calendar/examples/index.html?path=/docs/additional-examples--custom-event-wrapper

this might contain an example for a custom eventWrapper that you need ? @statusunknown418

statusunknown418 commented 4 months ago

already seen them and there's no code example for those @nourbenamor2001 , also I was referring more in terms of how to pass in the draghandlers to a custom wrapper