@bizhermit/react-sdk
Version:
React SDK
19 lines (18 loc) • 693 B
TypeScript
import React, { HTMLAttributes } from "react";
import { Signal } from "../styles/css-var";
export declare const labelCn = "bh-lbl";
export declare type LabelAttributes = HTMLAttributes<HTMLSpanElement> & {
$nowrap?: boolean;
$bold?: boolean;
$signal?: Signal;
$type?: "h0" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "a";
$fill?: boolean;
};
declare const Label: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & {
$nowrap?: boolean;
$bold?: boolean;
$signal?: Signal;
$type?: "h0" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "a";
$fill?: boolean;
} & React.RefAttributes<HTMLSpanElement>>;
export default Label;