UNPKG

native-base

Version:

Essential cross-platform UI components for React Native

53 lines (49 loc) 826 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _tools = require("../tools"); const baseStyle = props => { return { color: (0, _tools.mode)('muted.700', 'white')(props), fontWeight: 'bold', lineHeight: 'sm' }; }; const sizes = { '4xl': { fontSize: ['6xl', null, '7xl'] }, '3xl': { fontSize: ['5xl', null, '6xl'] }, '2xl': { fontSize: ['4xl', null, '5xl'] }, 'xl': { fontSize: ['3xl', null, '4xl'] }, 'lg': { fontSize: ['2xl', null, '3xl'] }, 'md': { fontSize: 'xl' }, 'sm': { fontSize: 'md' }, 'xs': { fontSize: 'sm' } }; const defaultProps = { size: 'lg' }; var _default = { baseStyle, sizes, defaultProps }; exports.default = _default; //# sourceMappingURL=heading.js.map