1.1.2 • Published 2 years ago

hover-select v1.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

HoverSelect

A Select which could be triggered by hover, and it's Antd/DropDown based development

API

PropertyDescriptionTypeDefault
optionsSelect optionsOption
onChangeCalled when select an option or input value change(v:sring | number)=>void-
valuecurrent valuestring-
classNameThe class name of the Selectstring-
overlayClassNameThe class name of the dropdown root elementstring-
triggerThe trigger mode which executes the dropdown actionArray<click|hover>[hover]

Option

PropertyDescriptionTypeDefault
keythe value onChange need;default to filter with this propertystring-
labelattribute of Select Optionstring-

You can see other params here

 <HoverSelect options={[{label: 'your name', key: 'name'},{label: 'your account', key: 'account'}]} />
1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago