preview
Override the drag-and-drop preview.
const overrides = {
preview: ({ children }) => <div>{children}</div>,
};
Props
Prop | Example | Type |
---|---|---|
children | <div /> | ReactNode |
children
The default node for the preview.
Override the drag-and-drop preview.
const overrides = {
preview: ({ children }) => <div>{children}</div>,
};
Prop | Example | Type |
---|---|---|
children | <div /> | ReactNode |
children
The default node for the preview.