5.4.0 • Published 1 year ago

@foundation-base/selection-control v5.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@foundation-base/selection-control

Base selection-control component for foundation

Props

type : string

The type prop passed to selection-control is to switch between the checkbox and radio input types.

id: string

The id prop is to pass the id attribute to the <input> tag of the selection-control

name: string

The name prop is to pass the name attribute to the <input> tag of the selection-control

value?: string

The value prop is to pass the value attribute to the <input> tag of the selection-control

isSelected : boolean

The isSelected prop passed is to indicate whether it is checked or unchecked.

required?: string

The required prop is to pass the required attribute to the <input> tag of the selection-control

disabled : boolean

The disabled prop is to pass the disabled attribute to the <input> tag of the selection-control

onClick: (e: any) => void

The onClick prop is to pass a function which can be used to capture the checked status of the selection-control

Install

npm install --save @foundation-base/selection-control

License

MIT © lijoejohn

5.4.0

1 year ago

3.4.1

2 years ago

3.4.0

2 years ago

3.3.1

2 years ago

3.2.0

2 years ago

2.1.1

2 years ago