@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
20 lines (19 loc) • 690 B
TypeScript
import React from 'react';
import { type BoxProps } from '../Box/Box';
export type TextProps = {
id?: string;
as?: 'code' | 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'label' | 'p' | 'span';
children?: React.ReactNode;
color?: BoxProps['color'] | 'inherit';
font?: BoxProps['fontFamily'];
size?: BoxProps['fontSize'];
style?: React.CSSProperties;
weight?: BoxProps['fontWeight'];
className?: string;
tabIndex?: number;
textAlign?: BoxProps['textAlign'];
display?: BoxProps['display'];
testId?: string;
title?: string;
};
export declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLElement>>;