render()

in src/components/Tooltip.tsx [72:94]


    render() {
        const {
            measures
        } = this.props;

        const { x, y } = this.state;

        return (
            measures && (
                <div
                    className="tooltip"
                    style={{
                        top: y + TOOLTIP_OFFSET_Y,
                        left: x + TOOLTIP_OFFSET_X
                    }}
                >
                <TooltipContent
                    {...this.props}
                />
            </div>
            )
        );
    }