UNPKG

@mysten/dapp-kit

Version:

A collection of React hooks and components for interacting with the Sui blockchain and wallets.

13 lines (12 loc) 425 B
import type { TextVariants } from './Text.css.js'; type TextAsChildProps = { asChild?: boolean; as?: never; }; type TextDivProps = { as: 'div'; asChild?: never; }; type TextProps = (TextAsChildProps | TextDivProps) & React.HTMLAttributes<HTMLDivElement> & TextVariants; declare const Text: import("react").ForwardRefExoticComponent<TextProps & import("react").RefAttributes<HTMLDivElement>>; export { Text };