solrkit
Version:
  UI Components for Solr, using TypeScript + React
7 lines • 501 B
JavaScript
import * as React from 'react';
import { Statistic } from 'semantic-ui-react';
var SingleNumber = function (props) { return (React.createElement(Statistic, { horizontal: props.horizontal || false, color: props.color, size: props.size || 'tiny' },
React.createElement(Statistic.Value, null, props.value.toLocaleString(undefined, { minimumFractionDigits: 0 })),
React.createElement(Statistic.Label, null, props.label))); };
export { SingleNumber };
//# sourceMappingURL=SingleNumber.js.map