Components
Editor Command Item
Command Item
For all the available props, see cmdk.
Props
children
ReactNode
requiredvalue
string
requiredThis value would be used for filtering
onCommand
({ editor, range }: { editor: Editor; range: Range }) => void;
requiredCallback function onSelect exposing editor and range
className
string