UNPKG

@fruits-chain/react-native-xiaoshu

Version:
19 lines (16 loc) • 788 B
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } import React, { memo } from 'react'; import { formatThousandths } from '../helpers'; import Description from './description'; const DescriptionThousand = _ref => { let { text, ...restProps } = _ref; const value = formatThousandths(`${text}`); return /*#__PURE__*/React.createElement(Description, _extends({}, restProps, { text: value })); }; export default /*#__PURE__*/memo(DescriptionThousand); //# sourceMappingURL=description-thousand.js.map