@edancerys/ts-react-components-lib
Version:
40 lines (39 loc) • 835 B
TypeScript
import React from 'react';
export interface StringProps {
Tag?: TagProps;
string?: string;
color?: string;
fontSize?: string;
fontWeight?: string;
lineHeight?: string | number;
align?: string;
limit?: number;
margin?: string;
padding?: string;
width?: string;
className?: string;
order?: number;
cursor?: string;
opacity?: number;
onClick?: (event?: MouseEvent) => void;
}
export declare enum TagProps {
b = "b",
em = "em",
i = "i",
small = "small",
strong = "strong",
sub = "sub",
sup = "sup",
ins = "ins",
del = "del",
mark = "mark",
p = "p",
h1 = "h1",
h2 = "h2",
h3 = "h3",
h4 = "h4",
h5 = "h5",
h6 = "h6"
}
export declare const String: React.FC<StringProps>;