Type alias SearchBarProps
SearchBarProps: Pick<Antdm.InputProps, "onFocus" | "onBlur" | "onClear" | "onCompositionStart" | "onCompositionEnd"> & { cancelText?: string; clearOnCancel?: boolean; clearable?: boolean; defaultValue?: string; icon?: ReactNode; maxLength?: number; onCancel?: (() => void); onChange?: ((val) => void); onSearch?: ((val) => void); onlyShowClearWhenFocus?: boolean; placeholder?: string; showCancelButton?: boolean | ((focus,
value) => boolean); value?: string; } & NativeProps<"--background" | "--border-radius" | "--placeholder-color" | "--height" | "--padding-left"> Type declaration
Optional cancelText?: string
Optional clearOnCancel?: boolean
Optional clearable?: boolean
Optional defaultValue?: string
Optional icon?: ReactNode
Optional maxLength?: number
Optional onCancel?: (() => void)
Optional onChange?: ((val) => void)
Optional onSearch?: ((val) => void)
Optional onlyShowClearWhenFocus?: boolean
Optional placeholder?: string
Optional showCancelButton?: boolean | ((focus, value) => boolean)
Optional value?: string