UNPKG

solrkit

Version:

![Build Status](https://travis-ci.org/garysieling/solrkit.svg?branch=master) ![Dependencies](https://david-dm.org/garysieling/solrkit/status.svg) UI Components for Solr, using TypeScript + React

7 lines 501 B
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