• Live demo
  • Docs
  • API Reference
GitHub
@mdxeditor/editor package
Classes
Functions
Types
Interfaces
ButtonOrDropdownButtonProps
CodeBlockEditorContextValue
CodeBlockEditorDescriptor
CodeBlockEditorProps
CodeBlockPluginParams
Comparator
ConditionalContentsProps
options
CreateCodeBlockNodeOptions
CreateImageNodeOptions
DialogButtonProps
DiffSourcePluginParams
DirectiveDescriptor
DirectiveEditorProps
DirectivesPluginParams
EditorInFocus
InsertImageFormValues
JsxComponentDescriptor
JsxEditorProps
JsxPluginParams
JsxPropertyDescriptor
LexicalConvertOptions
LexicalExportVisitor
LexicalNodeVisitParams
LexicalVisitActions
MdastImportVisitor
MdastVisitActions
MdastVisitParams
MDXEditorMethods
MDXEditorProps
NestedEditorProps
NestedEditorsContextValue
PropertyPopoverProps
RealmPluginParams
SandpackConfig
SandpackPreset
SelectProps
SingleChoiceToggleGroupProps
System
SystemConstructor
SystemPropsMap
SystemSpec
Variables

ConditionalContentsProps interface

The properties of the ConditionalContents React component.

Signature:

export interface ConditionalContentsProps 

Properties

PropertyModifiersTypeDescription
options(ConditionalContentsOption | FallBackOption)[]A set of options that define the contents to show based on the editor that is in focus. Can be either a ConditionalContentsOption or a FallBackOption. See the ConditionalContents documentation for an example.
  • ConditionalContentsProps interface

    • Properties
Copyright © 2023 Petyo Ivanov
  • GitHub
  • Twitter
  • LinkedIn
  • Email