UNPKG

fui-fancyui

Version:
16 lines (15 loc) 669 B
import { TLayer } from '../../../types/TLayer'; import { TTextAlignLC } from '../../../types/TTextAlignLC'; import { TComponentSizes } from '../../../types/TComponentSizes'; import { TUiColorsMain } from '../../../types/TUiColorsMain'; import { TFancyTextInput } from '../../organisms/FancyTextInput/TFancyTextInput.model'; export type TSearchBar = { searchValue?: string; align?: TTextAlignLC; activeHandler?: (isActive: boolean) => void; themeType?: Exclude<TUiColorsMain, 'accent'>; layer?: TLayer; placerholder?: string; sizeC?: TComponentSizes; }; export type TSearchBarWithFancyInputAttrs = TSearchBar & Omit<TFancyTextInput, 'type'>;