wass-rct-ui
Version:
A lightweight and customizable WASS Rct UI component library for modern web applications.
25 lines (24 loc) • 781 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 CollapsibleProps {
title: string;
children: React.ReactNode;
isOpen: boolean;
bodyBGColor?: BGColorVariant;
headerBGColor?: BGColorVariant;
titleColor?: TextColorVariant;
onToggle: () => void;
iconColor?: string;
iconSize?: number;
padding?: number;
}
declare const Collapsible: React.FC<CollapsibleProps>;
export default Collapsible;