@vlinderclimate/net-zero-ui
Version:
<div align="center"> <img src="https://storage.yandexcloud.net/static.vlinderstorage.com/Telegram_VlinderTech.png" width=200 /> </div> <h1 align="center">Net Zero UI kit</h1>
23 lines (22 loc) • 782 B
TypeScript
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;