UNPKG

@cimpress/react-components

Version:
24 lines 715 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Button = exports.Default = void 0; const Copy_1 = require("../Copy"); const meta = { title: 'Components/Copy', component: Copy_1.Copy, }; exports.default = meta; const AMOUNT = 109313489123.49; exports.Default = { args: { value: AMOUNT.toString(), children: new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }).format(AMOUNT), }, }; exports.Button = { args: { value: AMOUNT.toString(), children: new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }).format(AMOUNT), variant: 'button', }, }; //# sourceMappingURL=Copy.stories.js.map