Sha256: 1927be2653d7ce82d1d82b7bf0714f1e40261e7a49d0f52256b2c0123ddf3bce

Contents?: true

Size: 971 Bytes

Versions: 142

Compression:

Stored size: 971 Bytes

Contents

import React from 'react'
import { Button, Filter, Flex, Select, TextInput } from '../../'

const FilterOnly = () => {
  const options = [
    { value: 'USA' },
    { value: 'Canada' },
    { value: 'Brazil' },
    { value: 'Philippines' },
    { value: 'A Galaxy Far Far Away Like Really Far Away' },
  ]
  return (
    <Filter
        background={false}
        filters={{
          'Full Name': 'John Wick',
          'Territory': 'San Francisco',
        }}
        results={256}
    >
      <TextInput
          label="Full Name"
          placeholder="Enter name"
      />

      <Select
          blankSelection="Select One..."
          label="Territory"
          name="location"
          options={options}
      />
      <Flex
          spacing="between"
      >
        <Button
            text="Apply"
        />
        <Button
            text="Clear"
            variant="secondary"
        />
      </Flex>
    </Filter>
  )
}

export default FilterOnly

Version data entries

142 entries across 142 versions & 1 rubygems

Version Path
playbook_ui-6.3.1 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-7.0.0.pre.alpha4 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-7.0.0.pre.alpha3 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-7.0.0.pre.alpha2 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-6.3.0 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-6.2.1 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-6.2.0 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-7.0.0.pre.alpha1 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-6.1.0.pre.alpha5 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-6.1.0.pre.alpha4 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-6.1.0.pre.alpha3 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-6.1.0.pre.alpha2 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-6.1.0.pre.alpha1 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-6.1.0 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-6.0.1.pre.alpha6 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-6.0.1.pre.alpha5 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-6.0.1.pre.alpha4 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-6.0.1.pre.alpha3 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-6.0.1.pre.alpha2 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx
playbook_ui-5.2.0.pre.alpha15 app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx