UNPKG

native-base

Version:

Essential cross-platform UI components for React Native

66 lines (61 loc) 1.05 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _badge = _interopRequireDefault(require("./badge")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } const { variants } = _badge.default; const baseStyle = { _text: { fontWeight: 'medium' // lineHeight: 1.2, }, alignItems: 'center', justifyContent: 'center', flexDirection: 'row', display: 'flex' }; const sizes = { sm: { minH: 5, minW: 5, _text: { fontSize: 'xs' }, p: 1, borderRadius: 'sm' }, md: { minH: 6, minW: 6, _text: { fontSize: 'sm' }, borderRadius: 'md', p: 2 }, lg: { minH: 8, minW: 8, _text: { fontSize: 'md' }, borderRadius: 'md', p: 3 } }; const defaultProps = { size: 'md', variant: 'subtle', colorScheme: 'primary' }; var _default = { variants, baseStyle, sizes, defaultProps }; exports.default = _default; //# sourceMappingURL=tag.js.map