import snippets from './snippets'; export default { snippets, componentName: 'Statistic', title: 'statistical value', category: 'Data Display', props: [ { name: 'decimalSeparator', title: { label: 'Set decimal separator', tip: 'set decimal separator' }, propType: 'string', }, { name: 'formatter', title: { label: 'numerical format', tip: 'custom numerical format' }, propType: 'func', }, { name: 'groupSeparator', title: { label: 'Group separator', tip: 'Set thousandth identifier' }, propType: 'string', }, { name: 'precision', title: { label: 'Numerical precision', tip: 'Numerical precision' }, propType: 'number', }, { name: 'prefix', title: { label: 'Set the prefix of the value', tip: 'Set the prefix of the value' }, propType: { type: 'oneOfType', value: ['string', 'node'] }, }, { name: 'suffix', title: { label: 'Set suffix value', tip: 'Set the suffix of the value' }, propType: { type: 'oneOfType', value: ['string', 'node'] }, }, { name: 'title', title: { label: 'title', tip: 'title of value' }, propType: { type: 'oneOfType', value: ['string', 'node'] }, }, { name: 'value', title: { label: 'numeric value', tip: 'numeric value' }, propType: { type: 'oneOfType', value: ['string', 'number'] }, }, { name: 'valueStyle', title: { label: 'set the value style', tip: 'Set the style of a numeric value' }, propType: 'object', }, ], configure: { supports: { style: true } }, };