import * as React from "react" ; import { Classes , Tooltip2 } from "@blueprintjs/popover2" ; import { ExampleCard } from "./ExampleCard" ; const WIDTH = 200 ; export class TooltipExample extends React . PureComponent { public render ( ) { return ( < ExampleCard label = "Tooltip" width = { WIDTH } > < Tooltip2 className = { Classes . TOOLTIP2_INDICATOR } content = { < span > Always open tooltip < /span>} isOpen={true}> Always open target < /Tooltip2> < Tooltip2 className = { Classes . TOOLTIP2_INDICATOR } content = { < span > Regular tooltip < /span>}> Regular target < /Tooltip2> < /ExampleCard>); } }