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