UNPKG

@engie-group/fluid-design-system-react

Version:

Fluid Design System React

22 lines (21 loc) 583 B
import React from 'react'; import { type IListItemProps } from '../list'; export declare const NJSidebarClose: React.ForwardRefExoticComponent<ISidebarCloseProps & React.RefAttributes<HTMLUListElement>>; export interface ISidebarCloseProps extends IListItemProps { /** * Element id */ id?: string; /** * Text visible when expanded, default to "close" */ children: React.ReactNode; /** * Whether item is in folded state or not. */ isFolded?: boolean; /** * Optional additional className */ className?: string; }