UNPKG

@uiw/react-layout

Version:

React components that handle the overall layout of the page.

14 lines (13 loc) 571 B
import React from 'react'; export declare function randomid(): string; export interface LayoutSiderProps extends React.HTMLAttributes<HTMLElement> { prefixCls?: string; children?: React.ReactNode; /** Width of the sidebar */ width?: number | string; /** Width of the collapsed sidebar, by setting to 0 a special trigger will appear */ collapsedWidth?: number; /** To set the current status */ collapsed?: boolean; } export declare const LayoutSider: React.ForwardRefExoticComponent<LayoutSiderProps & React.RefAttributes<HTMLDivElement>>;