Props for the Sidebar component

interface SidebarProps {
    callbacks?: SidebarCallbacks;
    config?: SidebarConfig;
    customMenuItems?: CustomMenuItem[];
    onClose?: () => void;
    open?: boolean;
    schema: JSONSchema7;
    t?: (key: string) => string;
    uiSchema?: MenuUISchema;
}

Properties

callbacks?: SidebarCallbacks

Callback functions

config?: SidebarConfig

General sidebar configuration

customMenuItems?: CustomMenuItem[]

Additional custom menu items

onClose?: () => void

Called when sidebar should be closed

open?: boolean

Whether the sidebar is open/expanded

schema: JSONSchema7

JSON Schema with definitions

t?: (key: string) => string

Translation function for internationalization

uiSchema?: MenuUISchema

UI configuration for schema definitions