import { FC, ReactNode } from "react";
interface NvAccordionProps {
/** If true, the component is disabled. */
disabled?: boolean;
/** If true, expands the accordion, otherwise collapse it. */
open?: boolean;
/** The label's text. */
label?: string;
/** The additional CSS class for the details element. */
className?: string;
/** The content of the component. */
children: ReactNode;
}
/**
* Functional component for an accordion element.
* @component
*
* @param {boolean} disabled - Indicates if the accordion is disabled.
* @param {boolean} open - Indicates if the accordion is open.
* @param {string} label - The label for the accordion.
* @param {string} className - The additional CSS class for the details element.
* @param {ReactNode} children - The content to be displayed inside the accordion.
*/
declare const NvAccordion: FC;
export default NvAccordion;