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

Version Path
playbook_ui-7.4.1 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.4.0.pre.alpha6 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.4.0.pre.alpha5 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.4.0 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.4.0.pre.test4 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.4.0.pre.test3 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.4.0.pre.test2 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.4.0.pre.alpha4 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.4.0.pre.alpha2 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.4.0.pre.alpha1 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.3.0.pre.alpha12 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.3.0 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.3.0.pre.alpha11 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.3.0.pre.alpha10 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.3.0.pre.alpha9 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.3.0.pre.alpha8 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.3.0.pre.alpha7 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.3.0.pre.alpha6 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.3.0.pre.alpha5 app/pb_kits/playbook/pb_select/docs/_select_error.jsx
playbook_ui-7.3.0.pre.alpha4 app/pb_kits/playbook/pb_select/docs/_select_error.jsx