SearchBoxProps Interface

Properties for SearchBox component

Extends

Properties

Name Type Description
initialValue undefined | string value to set SearchBox to initially  
onClear undefined | () => void listens for onClick event for Clear (x) icon  
onEnterPressed undefined | () => void listens for keypress  
onEscPressed undefined | () => void listens for keypress  
onValueChanged (value: string) => void triggered when the content of SearchBox is changed  
placeholder undefined | string placeholder value to show in gray before anything is entered in  
valueChangedDelay undefined | number frequency to poll for changes in value  

Inherited properties

Name Type Inherited from Description
className undefined | string ClassNameProps Custom CSS class name
style undefined | React.CSSProperties CommonProps Custom CSS style properties

Defined in

Last Updated: 10 September, 2019