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 | Default | Description |
|---|---|---|---|
| className | func | string | - | CSS class applied to the element, or a function that returns a class based on the component's state. |
| nativeButton | bool | false | Whether the component renders a native |
| onEventDrop | func | - | Callback fired when the event is dropped into the Event Calendar. |
| render | element | func | - | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |
| style | func | object | - | Style applied to the element, or a function that returns a style object based on the component's state. |
| 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. |
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.