StandaloneEvent API
API reference docs for the React StandaloneEvent component. Learn about the props, CSS, and other APIs of this exported module.
Demos
Import
import { StandaloneEvent } from '@mui/x-scheduler/standalone-event';
// or
import { StandaloneEvent } from '@mui/x-scheduler';Learn about the difference by reading this guide on minimizing bundle size.
Props of the native component are also available.
| Name | Type | Description |
|---|---|---|
| onEventDrop | func | Callback fired when the event is dropped into the Event Calendar. |
| sx | Array<func | object | bool> | func | object | The system prop that allows defining system overrides as well as additional CSS styles. See the `sx` page for more details. |
The
ref is forwarded to the root element.Source code
If you did not find the information in this page, consider having a look at the implementation of the component for more detail.