awesome-text
Version:
A feature-rich React Native Text component offering smooth animations (zoom & bounce with Material Design easing), extensive typography (h1-h3, body, caption), custom styling (color, weight, alignment), and container customization. Perfect for creating en
18 lines (17 loc) • 552 B
TypeScript
import React from 'react';
import { TextProps } from 'react-native';
export interface AwesomeTextProps extends TextProps {
variant?: 'h1' | 'h2' | 'h3' | 'body' | 'caption';
color?: string;
weight?: 'normal' | 'bold' | 'light';
align?: 'left' | 'center' | 'right';
customStyle?: object;
animation?: 'bounce' | 'zoom' | 'none';
duration?: number;
delay?: number;
containerStyle?: object;
minZoom?: number;
maxZoom?: number;
}
declare const AwesomeText: React.FC<AwesomeTextProps>;
export default AwesomeText;