Lines Matching refs:TextProps
6 import Text, { TextProps } from '../primitives/Text';
9 export const P = forwardRef(({ style, ...props }: TextProps, ref) => {
11 }) as ComponentType<TextProps>;
13 export const B = forwardRef(({ style, ...props }: TextProps, ref) => {
15 }) as ComponentType<TextProps>;
17 export const S = forwardRef(({ style, ...props }: TextProps, ref) => {
19 }) as ComponentType<TextProps>;
21 export const I = forwardRef(({ style, ...props }: TextProps, ref) => {
23 }) as ComponentType<TextProps>;
37 export const BR = forwardRef(({ style, ...props }: TextProps, ref) => {
39 }) as ComponentType<TextProps>;
41 export const Mark = forwardRef(({ style, ...props }: TextProps, ref) => {
43 }) as ComponentType<TextProps>;
45 export const Code = forwardRef(({ style, ...props }: TextProps, ref) => {
47 }) as ComponentType<TextProps>;
49 function isTextProps(props: any): props is TextProps {
53 type PreProps = TextProps | ViewProps;