@hawk-ui/border-picker
v4.4.1
Published
hawk-ui: Border Picker Component
Downloads
26
Maintainers
Readme
Installation
To install a component run
$ npm install @hawk-ui/border-picker --save
Please import CSS styles via
@import '/path__to__node_modules/@hawk-ui/border-picker/dist/index.min.css
Usage
Border Picker:
import BorderPicker from '@hawk-ui/border-picker';
initialState = {
selectedBorder: 'solid',
};
<BorderPicker
type={state.selectedBorder}
onSelect={(event) => {
setState({
selectedBorder: event,
});
}}
/>