swiftui-react-native
Version:
A React Native component library inspired by SwiftUI
59 lines (58 loc) • 1.24 kB
TypeScript
export declare const Fonts: {
largeTitle: {
fontSize: number;
fontWeight: string;
};
title: {
fontSize: number;
fontWeight: string;
};
title2: {
fontSize: number;
fontWeight: string;
};
title3: {
fontSize: number;
fontWeight: string;
};
headline: {
fontSize: number;
fontWeight: string;
};
body: {
fontSize: number;
fontWeight: string;
};
callout: {
fontSize: number;
fontWeight: string;
};
subheadline: {
fontSize: number;
fontWeight: string;
};
footnote: {
fontSize: number;
fontWeight: string;
};
caption: {
fontSize: number;
fontWeight: string;
};
caption2: {
fontSize: number;
fontWeight: string;
};
};
export declare const FontWeights: {
regular: string;
bold: string;
heavy: string;
medium: string;
light: string;
thin: string;
ultralight: string;
semibold: string;
black: string;
};
export declare const getFont: (font?: keyof typeof Fonts | string, fontSize?: number, fontWeight?: keyof typeof FontWeights, italic?: boolean) => any;