Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

pro side nav react rtl

// is collapsed on load
collapsed?: boolean;

// RTL mode
rtl?: boolean;

// is toggled
toggled?: boolean;

// sidebar width
width?: string | number;

// with background image
image?: string;

// classname
className?: string;

// child nodes
children?: React.ReactNode;

// breakpoint
breakPoint?: 'xl' | 'lg' | 'md' | 'sm' | 'xs';

// onToggle function
onToggle?: (value: boolean) => void;
Source by reactscript.com #
 
PREVIOUS NEXT
Tagged: #pro #side #nav #react #rtl
ADD COMMENT
Topic
Name
3+5 =