@hixme-ui/select

2.1.0 • Public • Published

Select

npm i --save @hixme-ui/select

View it live

Usage

Using children options

import Select from '@hixme-ui/select'

<Select>
  <option value='hello'>Hello</option>
  <option value='goodbye'>Goodbye</option>
</Select>

// Outputs
<select>
  <option value='hello'>Hello</option>
  <option value='goodbye'>Goodbye</option>
</select>

Using a list to build options

<Select list={[{
  id: 0,
  name: 'Zero'
}]} />
// Outputs
<select>
  <option value='0'>Zero</option>
</select>

Props

Name Type Default
list array undefined
placeholder string null
loading bool false

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.1.0
    3
    • latest
  • 3.0.2
    0
    • next

Version History

Package Sidebar

Install

npm i @hixme-ui/select

Weekly Downloads

6

Version

2.1.0

License

MIT

Unpacked Size

57.2 kB

Total Files

15

Last publish

Collaborators

  • sureco-devops
  • sureco-engineering
  • dreamingbinary
  • billyxs