Sha256: f2a6e1904a9ec5516afdb0afc06f3d2cc9ea8c464747384c31ec80c8cb84142a

Contents?: true

Size: 1.06 KB

Versions: 944

Compression:

Stored size: 1.06 KB

Contents

import React from 'react'
import { Tooltip, Button, Flex } from 'playbook-ui'

const TooltipIcon = (props) => {
  return (
    <Flex flexDirection='row'
        gap='md'
        wrap
    >
      <Tooltip
          icon='paper-plane'
          placement='top'
          text='Send Email'
          zIndex={10}
          {...props}
      >
        <Button text='Tooltip With Icon' />
      </Tooltip>
      <Tooltip
          icon='paper-plane'
          placement='bottom'
          text='Send Email'
          zIndex={10}
          {...props}
      >
        <Button text='Tooltip With Icon' />
      </Tooltip>
      <Tooltip
          icon='paper-plane'
          placement='right'
          text='Send Email'
          zIndex={10}
          {...props}
      >
        <Button text='Tooltip With Icon' />
      </Tooltip>
      <Tooltip
          icon='paper-plane'
          placement='left'
          text='Send Email'
          zIndex={10}
          {...props}
      >
        <Button text='Tooltip With Icon' />
      </Tooltip>
    </Flex>
  )
}

export default TooltipIcon

Version data entries

944 entries across 944 versions & 2 rubygems

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui_docs-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui_docs-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui_docs-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui_docs-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui_docs-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui_docs-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui_docs-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
playbook_ui-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx