UNPKG

@useloops/design-system

Version:

The official React based Loops design system

19 lines (16 loc) 622 B
import { SxProps, Theme } from '@mui/material'; import react__default from 'react'; interface SearchInputProps { onChange?: (event: react__default.ChangeEvent<HTMLInputElement>) => void; onFocus?: () => void; onClear?: () => void; placeholder?: string; sx?: SxProps<Theme>; value?: string; } interface SearchInputHandle extends HTMLInputElement { clear: () => void; } declare const SearchInput: react__default.ForwardRefExoticComponent<SearchInputProps & react__default.RefAttributes<HTMLInputElement>>; export { SearchInput as default }; export type { SearchInputHandle, SearchInputProps };