Sha256: 4e74c6d7f6fb56162046bd554899c0c78c3cfa36a7cbb0931f254de75640b85e

Contents?: true

Size: 536 Bytes

Versions: 9

Compression:

Stored size: 536 Bytes

Contents

import React from 'react'
import { components } from 'react-select'

import Flex from '../../pb_flex/_flex'
import Icon from '../../pb_icon/_icon'

const Placeholder = (props: any): React.ReactElement => (
  <>
    <Flex
        align="center"
        className="placeholder"
    >
      <components.IndicatorsContainer
          {...props}
      />
      {props.selectProps.plusIcon &&
        <Icon
            className="typeahead-plus-icon"
            icon="plus"
        />
      }
    </Flex>
  </>
)

export default Placeholder

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
playbook_ui-13.33.0.pre.alpha.PLAY14143318 app/pb_kits/playbook/pb_typeahead/components/Placeholder.tsx
playbook_ui-13.33.0.pre.alpha.PLAY14143312 app/pb_kits/playbook/pb_typeahead/components/Placeholder.tsx
playbook_ui-13.33.0.pre.alpha.PBNTR405dropdownformfixesrails3311 app/pb_kits/playbook/pb_typeahead/components/Placeholder.tsx
playbook_ui-13.33.0.pre.alpha.PLAY1454formpillicons3309 app/pb_kits/playbook/pb_typeahead/components/Placeholder.tsx
playbook_ui-13.33.0.pre.alpha.PLAY14143306 app/pb_kits/playbook/pb_typeahead/components/Placeholder.tsx
playbook_ui-13.33.0 app/pb_kits/playbook/pb_typeahead/components/Placeholder.tsx
playbook_ui-13.32.0.pre.alpha.PBNTR405dropdownformfixesrails3301 app/pb_kits/playbook/pb_typeahead/components/Placeholder.tsx
playbook_ui-13.32.0.pre.alpha.PLAY14143297 app/pb_kits/playbook/pb_typeahead/components/Placeholder.tsx
playbook_ui-13.31.0.pre.alpha.PLAY10863204 app/pb_kits/playbook/pb_typeahead/components/Placeholder.tsx