UNPKG

wass-rct-ui

Version:

A lightweight and customizable WASS Rct UI component library for modern web applications.

25 lines (24 loc) 731 B
/** * @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"; export interface DropdownItemProps { label: string; value: string; } export interface DropdownProps { buttonLabel: string; items: DropdownItemProps[]; iconColor?: string; isHover?: boolean; isRightAligned?: boolean; className?: string; onSelect?: (selectedValue: DropdownItemProps) => void; } declare const Dropdown: React.FC<DropdownProps>; export default Dropdown;