@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
23 lines • 850 B
JavaScript
import { NumberFormatPropertiesCamelCase } from "../number-format/NumberFormatDocs.js";
import { skeletonProperty, spacingProperties } from "./StatDocsUtils.js";
export const TrendProperties = {
value: {
doc: 'Numeric or string value used to resolve the trend sign and tone. When omitted, the value is extracted from `children`.',
type: ['number', 'string'],
status: 'optional'
},
children: {
doc: 'Trend value content, e.g. `+12.4%` or `-2.1%`.',
type: ['React.ReactNode'],
status: 'optional'
},
tone: {
doc: 'Tone override for state styling.',
type: ['"positive"', '"negative"', '"neutral"'],
status: 'optional'
},
srLabel: NumberFormatPropertiesCamelCase.srLabel,
skeleton: skeletonProperty,
'[Space](/uilib/layout/space/properties)': spacingProperties
};
//# sourceMappingURL=TrendDocs.js.map