UNPKG

@brizy/ui

Version:
18 lines (17 loc) 631 B
import { PropsWithChildren, ReactElement, ReactText } from "react"; export interface Props<T extends ReactText> { placeholder?: string; disabled?: boolean; checkMark?: boolean; allowClear?: boolean; size?: "small" | "middle" | "large"; theme?: "dark" | "light" | "gray"; value?: T; align?: "left" | "center" | "right"; onClear?: VoidFunction; onChange?: (k: T) => void; getContainer?: () => HTMLElement; disabledBorder?: boolean; } export declare const Select: <T extends ReactText>(props: PropsWithChildren<Props<T>>) => ReactElement; export { SelectOption } from "./SelectOption";