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.6.0 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.5.0.alpha.rs.downgrade app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.5.0 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.4.0.alpha.sisense app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.4.0.alpha.user.kit.bug app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.4.0 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.3.1.pre.alpha2 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.4.0.pre.alpha2 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.4.0.pre.alpha1 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.3.1.pre.alpha1 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.3.0.alpha.inline3 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.3.0.pre.alpha.password.strength.2 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.3.0.alpha.inline2 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.3.0.alpha.inline1 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.3.0.pre.alpha.password.strength.1 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.3.0 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.2.2.pre.alpha.margin app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.2.2 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.2.1 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx
playbook_ui-9.2.0 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx