Sha256: 1085f27b992c344533ffe1773e53fb170aa56908fc58ae77f9bc59b3c22faf2e

Contents?: true

Size: 649 Bytes

Versions: 109

Compression:

Stored size: 649 Bytes

Contents

import React from 'react'
import { Body, Select } from '../..'

const SelectDarkError = () => {
  const options = [
    {
      value: '1',
      text: 'Burgers',
    },
    {
      value: '2',
      text: 'Pizza',
    },
    {
      value: '3',
      text: 'Tacos',
    },
  ]

  return (
    <div>
      <Select
          dark
          error="Please make a valid selection"
          label="Favorite Food"
          name="food"
          options={options}
          value="2"
      />
      <Body
          dark
          error="Please make a valid selection"
          status="negative"
      />
    </div>
  )
}

export default SelectDarkError

Version data entries

109 entries across 109 versions & 1 rubygems

Version Path
playbook_ui-6.6.1 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-7.0.0.pre.alpha10 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-6.6.0 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-6.5.2 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-6.5.1 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-6.5.0 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-7.0.1.pre.alpha8 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-7.0.1.pre.alpha7 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-7.0.1.pre.alpha6 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-7.0.1.pre.alpha5 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-7.0.1.pre.alpha4 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-7.0.1.pre.alpha3 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-7.0.1.pre.alpha2 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-6.4.2 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-7.0.1.pre.alpha1 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-7.0.0.pre.alpha9 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-7.0.0.pre.alpha8 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-7.0.0.pre.alpha7 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-6.4.1 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx
playbook_ui-7.0.0.pre.alpha6 app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx