UNPKG

wass-rct-ui

Version:

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

27 lines (26 loc) 828 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"; import { BaseColorVariant } from "../types"; export interface SearchBarProps { activeColor?: BaseColorVariant; activeTextColor?: BaseColorVariant; placeholder?: string; buttonLabel?: string; className?: string; defaultValue?: string; suggestions: string[]; debounceTime?: number; noResultText?: string; ariaLabel?: string; role?: string; onSearch: (query: string) => void; } declare const SearchBar: React.FC<SearchBarProps>; export default SearchBar;