@hhgtech/hhg-components
Version:
Hello Health Group common components
28 lines (25 loc) • 1.06 kB
JavaScript
import { _ as __rest } from './tslib.es6-ea4dfe68.js';
import React__default from 'react';
import './index-5d405c0d.js';
import '@mantine/core';
import '@mantine/dates';
import './index-5e947517.js';
import './index-90813715.js';
import './index-ebe66e27.js';
import './useMantineLocale-0c6bea99.js';
import { T as Text$1 } from './index-9f5659e8.js';
import './index-c68a0fa7.js';
import './index.styles-770020ac.js';
import './translationsContext-3a9e3453.js';
import '@mantine/hooks';
import './utils-cb7242c7.js';
import './other-4ccb5568.js';
import './index-c2190f6e.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 };