@cuvp1225/tango-mail
Version:
react mail components for tango
30 lines (29 loc) • 706 B
TypeScript
import React from 'react';
export type TextProps = React.ComponentPropsWithoutRef<'p'> & {
/**
* 文本大小
*/
fontSize?: number;
/**
* 文本色
*/
color: string;
/**
* 避免文本换行
*/
isTruncate?: boolean;
};
export declare const Text: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
/**
* 文本大小
*/
fontSize?: number;
/**
* 文本色
*/
color: string;
/**
* 避免文本换行
*/
isTruncate?: boolean;
} & import("@music163/tango-boot").TangoComponentProps & React.RefAttributes<unknown>>;