Sha256: bcd1995216222f791db88e9748bc66be4392d331c1a2b82945cf8e820bd7231e

Contents?: true

Size: 1.07 KB

Versions: 206

Compression:

Stored size: 1.07 KB

Contents

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

const FilterNoSort = (props) => {
  const options = [
    { value: 'USA' },
    { value: 'Canada' },
    { value: 'Brazil' },
    { value: 'Philippines' },
    { value: 'A Galaxy Far Far Away Like Really Far Away' },
  ]
  return (
    <Filter
        filters={{
          'Full Name': 'John Wick',
        }}
        results={546}
        sortValue={[{ name: 'popularity', dir: 'desc' }]}
        {...props}
    >
      <TextInput
          label="Full Name"
          placeholder="Enter name"
          {...props}
      />

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

export default FilterNoSort

Version data entries

206 entries across 206 versions & 1 rubygems

Version Path
playbook_ui-9.15.0.pre.decouple.website1 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.14.1.alpha.radio.alignment app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.14.1.alpha.highcharts9 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.14.1 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.13.0 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.12.0 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.12.0.pre.text.addon app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.11.0 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.10.0 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.10.0.pre.date.time.stacked.1 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.10.0.pre.alpha2 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.10.0.pre.alpha1 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.9.0.alpha.inline1 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.9.0 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.8.0 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.7.0.pre.alphawidth1 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.7.0.pre.alpha.a11y.btn app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.7.0 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.6.1 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.6.1.pre.deps1 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx