@platformbuilders/react-native-ui
Version:
Platform Builders Shared Components Library
29 lines • 817 B
TypeScript
import { StyleProp, TextStyle } from 'react-native';
import { TypographyVariants } from './Variants';
declare type TypographyStyle = {
fontSize: number;
lineHeight: number;
};
export declare type TypographyTheme = {
largeTitle: TypographyStyle;
title1: TypographyStyle;
title2: TypographyStyle;
title3: TypographyStyle;
headline: TypographyStyle;
body: TypographyStyle;
callout: TypographyStyle;
subhead: TypographyStyle;
footnote: TypographyStyle;
caption1: TypographyStyle;
caption2: TypographyStyle;
};
export interface TypographyType {
variant?: TypographyVariants;
children?: string | string[] | any;
style?: StyleProp<TextStyle>;
textRef?: any;
id?: string;
accessibility?: string;
}
export {};
//# sourceMappingURL=Typography.d.ts.map