Sha256: 549ebe10d237473411399ac0cf5de103b8bb2f289c7da9ece6afe71a5faa152c
Contents?: true
Size: 599 Bytes
Versions: 948
Compression:
Stored size: 599 Bytes
Contents
import React from 'react' import { Body, Select } from 'playbook-ui' const SelectInlineCompact = (props) => { const options = [ { value: '1', text: 'Burgers', }, { value: '2', text: 'Pizza', }, { value: '3', text: 'Tacos', }, ] return ( <div> <Select compact inline label="Favorite Food" name="food" options={options} {...props} /> <Body status="negative" {...props} /> </div> ) } export default SelectInlineCompact
Version data entries
948 entries across 948 versions & 2 rubygems