@geekyhawks/react-native-ui-components
Version:
Lightweight, reusable React Native UI components with built-in theming — including Text, TextInput, FloatingLabelTextInput, Button, and more. Fully typed with TypeScript and easy to integrate into any 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