UNPKG

@stakefish/ui

Version:

<div align="center"> <a href="https://www.npmjs.com/package/@stakefish/ui"><img src="https://gateway.pinata.cloud/ipfs/QmbZL1ceA8Yiz2pKALTg919jYx141DPUGegC9L4XpyayW5" width="300" /></a> </div>

23 lines (22 loc) 782 B
import { ReactNode } from "react"; import { TypographyProps } from "./Typography"; export interface StepLabelTextProps { /** * Type of the text component in a step. * * Title is the name of the step (ex: Stake Amount). * Subtitle is the index of the step (ex: Step 1). * Note is the minor message stacks under Title (ex: 0.1 ETH, Success). */ variant?: "title" | "subtitle" | "note"; /** * Text or other content in the step label. */ children: string | number | JSX.Element | JSX.Element[] | ReactNode; /** * Props of Typography component. */ typographyProps?: Omit<TypographyProps, "variant">; } declare const StepLabelText: React.FC<StepLabelTextProps>; export default StepLabelText;