UNPKG

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

Version:

Fluid Design System React

24 lines (23 loc) 699 B
import React, { ComponentPropsWithoutRef, PropsWithChildren } from 'react'; export type NJSidepanelProps = ComponentPropsWithoutRef<'div'> & PropsWithChildren & { /** * Sidepanel header */ header?: React.ReactNode; /** * Sidepanel footer */ footer?: React.ReactNode; }; export declare const NJSidepanel: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & { children?: React.ReactNode | undefined; } & { /** * Sidepanel header */ header?: React.ReactNode; /** * Sidepanel footer */ footer?: React.ReactNode; } & React.RefAttributes<HTMLDivElement>>;