@hixme-ui/select

    2.0.0-alpha.12 • 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

    Install

    npm i @hixme-ui/select

    DownloadsWeekly Downloads

    44

    Version

    2.0.0-alpha.12

    License

    MIT

    Unpacked Size

    57.2 kB

    Total Files

    15

    Last publish

    Collaborators

    • sureco-engineering
    • dreamingbinary
    • billyxs