@engie-group/fluid-design-system-react
Version:
Fluid Design System React
24 lines (23 loc) • 742 B
TypeScript
import React from 'react';
export type NJAccordionProps = React.PropsWithChildren & React.ComponentPropsWithoutRef<'div'> & {
/**
* Whether the item border should be removed
*/
withoutBorder?: boolean;
/**
* Whether the item are separated by a space
*/
isSeparated?: boolean;
};
export declare const NJAccordion: React.ForwardRefExoticComponent<{
children?: React.ReactNode;
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
/**
* Whether the item border should be removed
*/
withoutBorder?: boolean;
/**
* Whether the item are separated by a space
*/
isSeparated?: boolean;
} & React.RefAttributes<HTMLDivElement>>;