@geekyhawks/react-native-ui-components
Version:
A lightweight and reusable React Native UI components library with customizable Text, TextInput, FloatingLabelTextInput, Button, and more. Built with TypeScript, fully typed, and designed for easy integration into any React Native project.
27 lines • 835 B
JavaScript
/**
* Text Variants
*
* Defines default text styles such as `body`, `h1`, `h2`, and `caption`.
* Users can create custom variants or override existing ones to standardize
* typography across the app.
*
* Author: Geeky Hawks FZE LLC
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultTextVariants = void 0;
/**
* defaultTextVariants
*
* Predefined text variants with font size, weight, and style.
*
* - These are the default variants available: "body", "h1", "h2", "caption".
* - You can provide additional custom variants through the ThemeProvider.
*/
exports.defaultTextVariants = {
body: { fontSize: 16 },
h1: { fontSize: 24, fontWeight: "700" },
h2: { fontSize: 20, fontWeight: "600" },
caption: { fontSize: 12 },
};
//# sourceMappingURL=TextVariants.js.map
;