Sha256: 49253bd34f181ea4579fc7e7860c292d03719b976fdce24344dd937155961433

Contents?: true

Size: 1.08 KB

Versions: 17

Compression:

Stored size: 1.08 KB

Contents

/* @flow */

import React from 'react'
import { Body, Flex, FlexItem, Icon } from '../..'

const TypeaheadWithPillsAsyncSummary = () => {
  return (
    <>
      <Flex
          marginBottom="lg"
          vertical="center"
      >
        <FlexItem>
          <Body
              color="light"
          >
            <Icon
                icon="info-circle"
                marginRight="xs"
            />
          </Body>
        </FlexItem>
        <FlexItem>
          <Body
              color="light"
          >
            {'If the data field '}
            <code>{'imageUrl'}</code>
            {' is present, '}
            <code>{'FormPill'}</code>
            {' will receive that field as a prop and display the image. '}
            <br />
            {'Additionally, you can also leverage the callback prop: '}
            <code>{'onMultiValueClick'}</code>
            {' to perform custom work when a '}
            <code>{'MultiValue'}</code>
            {' item is clicked.'}
          </Body>
        </FlexItem>
      </Flex>
    </>
  )
}

export default TypeaheadWithPillsAsyncSummary

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
playbook_ui-7.3.0.pre.alpha2 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
playbook_ui-7.0.1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
playbook_ui-6.8.2.pre.alpha1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
playbook_ui-7.0.0.pre.alpha15 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
playbook_ui-7.0.1.pre.alpha14 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
playbook_ui-7.0.0.pre.alpha14 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
playbook_ui-7.0.0.pre.alpha13 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
playbook_ui-7.0.0.pre.alpha12 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
playbook_ui-7.0.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
playbook_ui-7.0.0.pre.alpha11 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
playbook_ui-6.8.1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
playbook_ui-6.8.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
playbook_ui-6.7.0.pre.alpha1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
playbook_ui-6.7.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
playbook_ui-6.6.1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
playbook_ui-7.0.0.pre.alpha10 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
playbook_ui-6.6.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx