Home > @uniformdev/mesh-sdk-react > InputVariablesProps

InputVariablesProps type

Signature:

type InputVariablesProps<TEditorContext = unknown> = {
    id?: string;
    label?: string | ReactNode;
    'aria-label'?: string;
    disableDismissEditorOnChange?: boolean;
    multiLine?: boolean;
    disableInlineMenu?: boolean | 'by-label' | 'by-input';
    showMenuPosition?: 'label' | 'input' | 'inline-right';
    enableEditingVariables?: boolean;
    addOmitIfEmpty?: boolean;
    errorMessage?: string;
    warningMessage?: string;
    infoMessage?: string;
    placeholder?: string;
    caption?: string;
    disabled?: boolean;
    'data-testid'?: string;
    autoFocus?: boolean;
    editorRef?: MutableRefObject<LexicalEditor | null>;
    styleVariant?: 'default' | 'compact';
    renderMenuInPortal?: boolean;
    singleTokenMode?: boolean;
} & PasteTransformerPluginProps & UseInputVariablesStateProps<TEditorContext>;