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-11.5.0.pre.alpha.fontawesome app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-11.7.0.pre.alpha.pre.guagechart1 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-11.6.0 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-11.5.0.pre.alpha.datepicker1 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-11.6.0.pre.alpha.rubocopperf1 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-11.6.1.pre.alpha.rubocop.pre.performance1 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-11.5.0.pre.alpha.pre.rubocop app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-11.6.0.pre.alpha.momenttz1 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-11.5.0 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-11.4.0.pre.alpha.rubytheme2 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-11.4.0.pre.alpha.rubytheme1 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-11.4.0 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-11.3.0.pre.alpha2 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
playbook_ui-11.3.0.pre.alpha1 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx