A plugin that manages the view state. It specifies the current date and the displayed view.
Use the following statement to import the plugin:
import { ViewState } from '@devexpress/dx-react-scheduler';none
| Name | Type | Default | Description |
|---|---|---|---|
| currentDate? | SchedulerDateTime | The current date. | |
| defaultCurrentDate? | SchedulerDateTime | The initial date in the uncontrolled mode. | |
| onCurrentDateChange? | (currentDate: Date) => void | Handles changes to the current date. | |
| currentViewName? | string | The displayed view's name. | |
| defaultCurrentViewName? | string | The initially displayed view's name in the uncontrolled mode. | |
| onCurrentViewNameChange? | (viewName: string) => void | Handles changes to the displayed view. |