@edancerys/ts-react-components-lib
Version:
28 lines (27 loc) • 840 B
TypeScript
import React from 'react';
import { InputProps } from './Input';
import { DropDownProps, DropDownBlobProps } from './DropDown';
export interface AppSearchProps {
input?: InputProps;
type?: 'large' | 'small';
placeholder?: string;
dropDown?: DropDownBlobProps[];
dropdownConfig?: DropDownProps;
backgroundColor?: string;
boxShadow?: string;
borderRadius?: string;
border?: string;
padding?: string;
margin?: string;
className?: string;
data?: DataProps;
onChange?: (param?: any) => void;
onClear?: (param?: any) => void;
onSelected?: (param?: any) => void;
onCatSelected?: (param?: any) => void;
onSearch?: (param?: any) => void;
}
export interface DataProps {
search?: string;
}
export declare const AppSearch: React.FC<AppSearchProps>;