UNPKG

@hhgtech/hhg-components

Version:
28 lines (25 loc) 1.04 kB
import { _ as __rest } from './tslib.es6-107c23d7.js'; import React__default from 'react'; import './index-2a289da8.js'; import '@mantine/core'; import '@mantine/dates'; import './index-e053201b.js'; import './index-6482e49b.js'; import './index-461f72c9.js'; import './index-6ae951d5.js'; import { T as Text$1 } from './index-a5768260.js'; import './index-92ed0334.js'; import './index.styles-05fc133d.js'; import './translationsContext-40d5537d.js'; import '@mantine/hooks'; import './text-48aef61b.js'; import './utils-50ee2849.js'; import './index-7f1ed00b.js'; /** * @deprecated Consider to use import { Text } from '@hhgtech/hhg-components/mantine' */ const Text = (_a) => { var { size = 'base', type = 'regular' } = _a, rest = __rest(_a, ["size", "type"]); return (React__default.createElement(Text$1, Object.assign({ size: size, weight: type === 'caption' ? 'bold' : type, "data-size": size, "data-type": type, "data-word-wrap": rest.wordWrap, "data-is-uppercase": rest.isUppercase }, rest))); }; export { Text as T };