Edit page

Hint

Usage

import { Hint } from '@nejcm/docz-theme-extended';

This is a default hint without an icon.
This is a warning hint with an icon.
This is a success hint with an icon.
in multiple lines.
This is an outer variant info hint with an icon.
This is an outer variant danger hint with an icon.

Props

Prop nameTypeDefaultRequiredDescription
iconbooltruefalse

Display icon

type'default' │ 'info' │ 'warning' │ 'success' │ 'danger''default'false

Hint type

variant'inner' │ 'outer'false

Hint variant

childrennodefalse

Hint content