AcheryWorkshop
Components

TypeTag

Examples

Loading examples…

API

From COMPONENTS.md.

Monospace transaction type tag with colour-coded border and background.

import { TypeTag } from 'achery-ui'
import type { TransactionType } from 'achery-ui'

<TypeTag type="basic" />
<TypeTag type="exceptional" />
Type Text colour Background
basic fg3 transparent
internal fg3 transparent
exceptional danger danger at 8%
fee warn warn at 8%
Prop Type Default
type 'basic' | 'internal' | 'exceptional' | 'fee' —
className string —