wass-rct-ui
Version:
A lightweight and customizable WASS Rct UI component library for modern web applications.
27 lines (26 loc) • 854 B
TypeScript
/**
* @file wass-rct-ui
* @description A reusable Title component that supports dynamic heading levels.
* @author Web Apps Software Solutions
* @copyright © 2024 Web Apps Software Solutions. All rights reserved.
* @license MIT
* @repository https://github.com/WebAppSoftNK/wass-rct-ui
*/
import * as React from "react";
import { BGColorVariant, TextColorVariant } from "../types";
export interface CollapsibleItemProps {
title: string;
content: React.ReactNode;
bodyBGColor?: BGColorVariant;
headerBGColor?: BGColorVariant;
titleColor?: TextColorVariant;
}
export interface CollapsibleGroupProps {
iconColor?: string;
iconSize?: number;
padding?: number;
className?: string;
items: CollapsibleItemProps[];
}
declare const CollapsibleGroup: React.FC<CollapsibleGroupProps>;
export default CollapsibleGroup;