@smitch/fluid
Version:
A Next/React ui-component libray.
18 lines (17 loc) • 503 B
TypeScript
/// <reference types="react" />
export interface AutocompleteProps {
className?: string;
style?: React.CSSProperties;
size?: 'sm' | 'md' | 'lg' | 'xl';
data: any[];
list: string;
name?: string;
required?: boolean;
placeholder?: string;
onChange?: React.ChangeEventHandler<HTMLInputElement>;
autocomplete?: 'on' | 'off' | string;
label: string;
layout?: 'col' | 'row';
rounded?: 'none' | 'md' | 'lg' | 'full';
suppressHydrationWarning?: boolean;
}