omnipay-savings-sdk
Version:
Omnipay Savings SDK
17 lines (16 loc) • 926 B
TypeScript
import React, { ComponentProps } from 'react';
import { StyleProp, TextStyle, Text as BaseText } from 'react-native';
type TextProps = ComponentProps<typeof BaseText> & {
text: string;
fontSize?: number;
textAlign?: 'auto' | 'left' | 'right' | 'center' | 'justify';
color?: string;
fontFamily?: 'Gordita-Regular' | 'Gordita-Medium' | 'Gordita-Bold';
lineHeight?: number;
numberOfLines?: number;
textDecorationLine?: 'none' | 'underline' | 'line-through' | 'underline line-through' | undefined;
fontWeight?: 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
style?: StyleProp<TextStyle>;
};
export declare const Text: React.MemoExoticComponent<({ text, fontSize, lineHeight, numberOfLines, onPress, textAlign, color, fontWeight, fontFamily, textDecorationLine, style, ...rest }: TextProps) => import("react/jsx-runtime").JSX.Element>;
export {};