Sha256: 5c09ffbe6e96ca0791576c0830d97afa49b7c25af5b52976c1e86648502da77a
Contents?: true
Size: 1020 Bytes
Versions: 944
Compression:
Stored size: 1020 Bytes
Contents
import React from 'react' import { Button, Tooltip, Flex, FlexItem } from 'playbook-ui'; const TooltipDelay = (props) => { return ( <Flex flexDirection='row' gap='md' wrap > <FlexItem> <Tooltip delay={1000} placement='top' text="1s open/close delay" zIndex={10} {...props} > <Button text="1s delay"/> </Tooltip> </FlexItem> <FlexItem> <Tooltip delay={{ open: 1000 }} placement='top' text="1s open delay" zIndex={10} {...props} > <Button text="Open only"/> </Tooltip> </FlexItem> <FlexItem> <Tooltip delay={{ close: 1000 }} placement='top' text="1s close delay" zIndex={10} {...props} > <Button text="Close only"/> </Tooltip> </FlexItem> </Flex> ) } export default TooltipDelay
Version data entries
944 entries across 944 versions & 2 rubygems