Sha256: aa9df678945c1ebd09ec8acd1e4ce196a7bb56f3f362922eb78fb8593267f907

Contents?: true

Size: 760 Bytes

Versions: 494

Compression:

Stored size: 760 Bytes

Contents

// @flow

import React from 'react'
import { Tooltip, Button, Flex, FlexItem } from '../..';

const TooltipInteraction = (props) => {

  return (
   <Flex 
       flexDirection='row'
       gap='md'
       justifyContent='center'
       wrap
   >
    <FlexItem>
      <Tooltip 
          interaction 
          placement='top' 
          text="You can copy me"
          zIndex={10}
          {...props}
      >
        <Button text="With Interaction"/>
      </Tooltip>
    </FlexItem>
    <FlexItem>
     <Tooltip 
         placement='top' 
         text="I'm just a regular tooltip" 
         zIndex={10}
         {...props}
     >
        <Button text="No Interaction"/>
      </Tooltip>
    </FlexItem>
   </Flex>
  )
}

export default TooltipInteraction

Version data entries

494 entries across 494 versions & 2 rubygems

Version Path
playbook_ui_docs-13.11.1 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-13.11.1 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui_docs-13.11.0 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-13.11.0 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui_docs-13.10.0.pre.alpha.PLAY1051removinghighchartsdependency1465 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-13.10.0.pre.alpha.PLAY1051removinghighchartsdependency1465 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui_docs-13.10.0.pre.alpha.webpackerregistercomponents1463 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-13.10.0.pre.alpha.webpackerregistercomponents1463 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui_docs-13.10.0.pre.alpha.dependabotnpmandyarnfortawesomefontawesomepro6421439 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-13.10.0.pre.alpha.dependabotnpmandyarnfortawesomefontawesomepro6421439 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui_docs-13.10.0.pre.alpha.play10561428 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-13.10.0.pre.alpha.play10561428 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui_docs-13.10.0.pre.alpha.play1054tableheadersortconsolidation1416 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-13.10.0.pre.alpha.play1054tableheadersortconsolidation1416 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui_docs-13.10.0.pre.alpha.play10561409 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-13.10.0.pre.alpha.play10561409 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui_docs-13.10.0.pre.alpha.dependabotnpmandyarntiptapextensionlink21121407 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-13.10.0.pre.alpha.dependabotnpmandyarntiptapextensionlink21121407 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui_docs-13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21365 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21365 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx