Sha256: d096cf6947ec798acfaee7d0da2e6f4f9176c5b269e3b49f102b683f17b5e8cf

Contents?: true

Size: 1.25 KB

Versions: 142

Compression:

Stored size: 1.25 KB

Contents

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

const FilterNoBackground = () => {
  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}
        sortOptions={{
          popularity: 'Popularity',
          // eslint-disable-next-line
          manager_title: 'Manager\'s Title',
          // eslint-disable-next-line
          manager_name: 'Manager\'s Name',
        }}
        sortValue={[{ name: 'popularity', dir: 'asc' }]}
    >
      <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 FilterNoBackground

Version data entries

142 entries across 142 versions & 1 rubygems

Version Path
playbook_ui-5.2.0.pre.alpha14 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-5.2.0.pre.alpha13 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-6.0.1 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-5.2.0.pre.alpha12 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-6.0.0 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-5.2.0.pre.alpha11 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-5.5.1.pre.alpha4 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-5.5.1.pre.alpha3 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-5.5.1.pre.alpha2 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-5.5.1.pre.alpha1 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-5.2.0.pre.alpha10 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-5.5.1 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-5.5.0 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-5.5.0.pre.alpha1 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-5.2.0.pre.alpha9 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-5.2.0.pre.alpha8 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-5.2.0.pre.alpha7 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-5.3.0.pre.alpha1 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-5.4.0 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx
playbook_ui-5.2.0.pre.alpha6 app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx