React scheduler component based on Material-UI & date-fns, forked from https://github.com/aldabil21/react-scheduler
npm install @hightype/react-scheduler

``jsx`
npm i git+https://github.com/RLangridge/react-scheduler.git
`jsx`
import { Scheduler } from "@hightype/react-scheduler";
`jsx``
events={[
{
event_id: 1,
title: "Event 1",
start: new Date("2021 5 2 09:30"),
end: new Date("2021 5 2 10:30"),
},
{
event_id: 2,
title: "Event 2",
start: new Date("2021 5 4 10:00"),
end: new Date("2021 5 4 11:00"),
},
]}
/>
#### Options
| Option | Value |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| height | number. Min height of table.
_Default_: 600 |
| view | string. Initial view to load. options: "week", "month", "day".
_Default_: "week" (if it's not null) |
| month | Object. Month view props.
_default_:
{
weekDays: [0, 1, 2, 3, 4, 5],
weekStartOn: 6,
startHour: 9,
endHour: 17,
} |{
weekDays: [0, 1, 2, 3, 4, 5],
weekStartOn: 6,
startHour: 9,
endHour: 17,
step: 60
} |{
startHour: 9,
endHour: 17,
step: 60
} | {
name: "description",
type: "input" ,
config: { label: "Description", required: true, min: 3, email: true, variant: "outlined", ....
} |{
state: state obj,
close(): void
loading(status: boolean): void
edited?: ProcessedEvent
onConfirm(event: ProcessedEvent, action:EventActions): void
} |{
assignee: 1,
text: "User One",
subtext: "Sales Manager",
avatar: "https://picsum.photos/200/300",
color: "#ab2d2d",
} |{
idField: "admin_id",
textField: "title",
subTextField: "mobile",
avatarField: "title",
colorField: "background",
} |- Basic
- Remote Data
- Custom Fields
- Editor/Viewer Override
- Resources/View Mode
- [ ] Tests
- [x] Drag&Drop - partially
- [ ] Resizable
- [ ] Recurring events
- [ ] Localization