Sha256: 9448d46b1c149d3c4ca5c1c47e959e8a6671e7c09e778ef297320d8adbcdcdf2

Contents?: true

Size: 1.19 KB

Versions: 11

Compression:

Stored size: 1.19 KB

Contents

import React from 'react'

import Typeahead from '../_typeahead'

const options = [
  { label: 'Orange', value: '#FFA500' },
  { label: 'Red', value: '#FF0000' },
  { label: 'Green', value: '#00FF00' },
  { label: 'Blue', value: '#0000FF' },
]

const TypeaheadMarginBottom = (props) => {
  return (
    <>
      <Typeahead
          label="None"
          marginBottom="none"
          options={options}
          {...props}
      />
      <Typeahead
          label="XXS"
          marginBottom="xxs"
          options={options}
          {...props}
      />   
      <Typeahead
          label="XS"
          marginBottom="xs"
          options={options}
          {...props}
      />   
      <Typeahead
          label="Default - SM"
          options={options}
          {...props}
      />   
      <Typeahead
          label="MD"
          marginBottom="md"
          options={options}
          {...props}
      />
      <Typeahead
          label="LG"
          marginBottom="lg"
          options={options}
          {...props}
      />
      <Typeahead
          label="XL"
          marginBottom="xl"
          options={options}
          {...props}
      />
    </>
  )
}

export default TypeaheadMarginBottom

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
playbook_ui_docs-14.4.0.pre.rc.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx
playbook_ui-14.4.0.pre.rc.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx
playbook_ui-14.3.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx
playbook_ui_docs-14.3.0.pre.rc.12 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx
playbook_ui-14.3.0.pre.rc.12 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx
playbook_ui_docs-14.3.0.pre.rc.11 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx
playbook_ui-14.3.0.pre.rc.11 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx
playbook_ui_docs-14.2.1.pre.alpha.PBNTR479removeextraspacingfromradiochildren3671 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx
playbook_ui-14.2.1.pre.alpha.PBNTR479removeextraspacingfromradiochildren3671 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx
playbook_ui_docs-14.2.1.pre.alpha.PBNTR479removeextraspacingfromradiochildren3669 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx
playbook_ui-14.2.1.pre.alpha.PBNTR479removeextraspacingfromradiochildren3669 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx