@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
30 lines (29 loc) • 1.02 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.TextProperties = void 0;
var _StatDocsUtils = require("./StatDocsUtils.js");
const TextProperties = exports.TextProperties = {
children: {
doc: 'Custom visible content rendered using Stat value typography.',
type: ['React.ReactNode'],
status: 'optional'
},
fontSize: _StatDocsUtils.fontSizeProperty,
fontWeight: {
doc: 'Typography weight for the text content.',
type: ['"regular"', '"medium"'],
status: 'optional'
},
colorizeBySign: {
doc: 'If `true`, text color follows a signed child value when possible. You can also pass a number directly to control the tone for custom content.',
type: ['boolean', 'number'],
defaultValue: 'false',
status: 'optional'
},
...(0, _StatDocsUtils.pickNumberFormatProps)(['srLabel']),
skeleton: _StatDocsUtils.skeletonProperty,
'[Space](/uilib/layout/space/properties)': _StatDocsUtils.spacingProperties
};
//# sourceMappingURL=TextDocs.js.map