Sha256: ef5d7a49f65ed767f89509bfbdb59a9e377c700f41b1f8a781ff738fe394e532
Contents?: true
Size: 611 Bytes
Versions: 177
Compression:
Stored size: 611 Bytes
Contents
import React from 'react' import { Body, Select } from '../..' const SelectError = () => { const options = [ { value: '1', text: 'Burgers', }, { value: '2', text: 'Pizza', }, { value: '3', text: 'Tacos', }, ] return ( <div> <Select error="Please make a valid selection" label="Favorite Food" name="food" options={options} value="2" /> <Body error="Please make a valid selection" status="negative" /> </div> ) } export default SelectError
Version data entries
177 entries across 177 versions & 1 rubygems