Skip to contentSkip to content

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

Props of the native component are also available.

NameTypeDescription
onEventDropfunc

Callback fired when the event is dropped into the Event Calendar.

sxArray<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.