React Component Tmpl

The <Tooltip/> component enables you to create custom tooltips relative to a target element. The contents of the tooltip is customizable by the developer.

Note: For more advanced tooltips check out https://popper.js.org/

Usage

The following is how to use this component as an un-controlled component.

//Code Here

Properties

The following properties are available for customization.

Name Description Default

Styling

The following custom properties are available for styling via CSS variables:

Custom Property Description
--tooltip-background-color Background color for the tooltip
--tooltip-border Border for the tooltip
--tooltip-border-radius Border radius for the tooltip
--tooltip-color Color for the tooltip text
--tooltip-transition Transition of the tooltip

Topic Format

Given an array of integers, do this and do that.

Description

Give a short description of the topic.

Example

Give an example of the topic.

Hints

  • Give a hint (ex. Divide and conquer, Stack, etc.)

results matching ""

    No results matching ""