Coral 0.2.17 candidate API
    Preparing search index...

    Interface LayoutControlsProps

    Props for the LayoutControls component

    interface LayoutControlsProps {
        canRedo: boolean;
        canUndo: boolean;
        className?: string;
        disabled?: boolean;
        isReflowing?: boolean;
        onRedo: () => void;
        onReflow: () => void;
        onUndo: () => void;
        redoCount?: number;
        showShortcutHints?: boolean;
        style?: CSSProperties;
        undoCount?: number;
    }
    Index
    canRedo: boolean

    Whether redo is available

    canUndo: boolean

    Whether undo is available

    className?: string

    Custom class name for the container

    disabled?: boolean

    Disable all controls

    isReflowing?: boolean

    Whether a reflow is currently in progress

    onRedo: () => void

    Callback to redo undone change

    onReflow: () => void

    Callback to trigger reflow/re-layout

    onUndo: () => void

    Callback to undo last layout change

    redoCount?: number

    Number of redo steps available

    showShortcutHints?: boolean

    Whether to show keyboard shortcut hints in tooltips

    style?: CSSProperties

    Custom styles for the container

    undoCount?: number

    Number of undo steps available