ConditionalContentsOption type
An object that describes a possible option to be displayed in the ConditionalContents component.
Signature:
export type ConditionalContentsOption = {
when: (rootNode: EditorInFocus | null) => boolean;
contents: () => React.ReactNode;
};
References: EditorInFocus