@evlmaistrenko/tools-antd
    Preparing search index...

    Interface LayoutProps

    interface LayoutProps {
        backTop?: boolean;
        direction?: "ltr" | "rtl";
        footer?: HTMLAttributes<HTMLElement>;
        header?: HTMLAttributes<HTMLElement> & { sticky?: boolean };
        height?: Height<string | number>;
        main?: HTMLAttributes<HTMLElement> & { component?: ElementType };
        onSidebarsOverlayClick?: MouseEventHandler<HTMLDivElement>;
        primarySidebar?: LayoutSidebarProps;
        secondarySidebar?: LayoutSidebarProps;
    }

    Hierarchy

    • Omit<HTMLAttributes<HTMLElement>, "children">
      • LayoutProps
    Index

    Properties

    backTop?: boolean

    Whether to render FloatButton.BackTop.

    direction?: "ltr" | "rtl"
    footer?: HTMLAttributes<HTMLElement>
    header?: HTMLAttributes<HTMLElement> & { sticky?: boolean }
    height?: Height<string | number>
    main?: HTMLAttributes<HTMLElement> & { component?: ElementType }
    onSidebarsOverlayClick?: MouseEventHandler<HTMLDivElement>
    primarySidebar?: LayoutSidebarProps
    secondarySidebar?: LayoutSidebarProps