ARNAT - styled-tooltip
Modular approach to use bootstrap components for quick prototypes, as an entrypoint of the component library.
Usage
import React useState from 'react'; import Button from '@arnat/styled-button';import Tooltip TooltipArrow TooltipInner from '@arnat/styled-tooltip'; const SimpleTooltipToggle = const hidden setHidden = ; const position setPosition = ; return <Container = > <Button = = > Hover to toggle tooltip </Button> <Tooltip = = > <TooltipArrow /> <TooltipInner >Tooltip Title</TooltipInner> </Tooltip> </Container> ;;
Properties
Properties which can be added to the component to change the visual appearance.
pill
only on TooltipInner Type: booleannoRadius
only on TooltipInner Type: booleanhidden
Type: booleanright
Type: booleantop
Type: booleanleft
Type: booleanbottom
Type: booleantransitionProps
Type:: object