UNPKG

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

Version:

Fluid Design System React

21 lines (20 loc) 512 B
import React from 'react'; export declare const NJSidepanelLayout: React.ForwardRefExoticComponent<ISidepanelLayoutProps & React.RefAttributes<HTMLDivElement>>; export interface ISidepanelLayoutProps { /** * Whether sidepanel is displayed */ isOpen?: boolean; /** * Whether sidepanel is over main content */ isOverContent?: boolean; /** * Main content */ children: React.ReactNode; /** * Sidepanel content */ sidepanel?: React.ReactNode; }