wass-rct-ui
Version:
A lightweight and customizable WASS Rct UI component library for modern web applications.
29 lines (28 loc) • 883 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 { BaseColorVariant } from "../types";
export interface SuggestionProps {
label: string;
value: string;
}
export interface SingleSelectProps {
activeColor?: BaseColorVariant;
activeTextColor?: BaseColorVariant;
placeholder?: string;
className?: string;
defaultValue?: string;
suggestions: SuggestionProps[];
noResultText?: string;
ariaLabel?: string;
role?: string;
onSelect: (selected: SuggestionProps) => void;
}
declare const SingleSelect: React.FC<SingleSelectProps>;
export default SingleSelect;