@conductionnl/nl-design-system
Version:
NL design system components created by Conduction
18 lines (17 loc) • 401 B
TypeScript
import * as React from "react";
interface AccordionItem {
id: string;
title: string;
render: () => JSX.Element;
backgroundColor?: string;
}
interface AccordionProps {
items: AccordionItem[];
id: string;
}
/**
* This components renders an bootstrap accordion.
* @returns JSX of the generated accordion.
*/
export declare const Accordion: React.FC<AccordionProps>;
export {};