ShuffleReferenceFunctions
ShuffleSkeleton
Function: ShuffleSkeleton()
function ShuffleSkeleton(props: { children: ReactNode }): Element;Defined in: components/Skeleton.tsx:22
A React component that renders the grid skeleton. This component must be rendered for resize and
reposition behaviors to work correctly. The component should be a direct parent of the
ProseMirrorDoc component.
Parameters
props
children
ReactNode
Returns
Element
Example
function Editor() {
return (
<ProseMirror defaultState={editorState}>
<ShuffleSkeleton>
<ProseMirrorDoc />
</ShuffleSkeleton>
</ProseMirror>
);
}