@cimpress/react-components
Version:
React components to support the MCP styleguide
21 lines • 592 B
JavaScript
import { Copy } from '../Copy';
const meta = {
title: 'Components/Copy',
component: Copy,
};
export default meta;
const AMOUNT = 109313489123.49;
export const Default = {
args: {
value: AMOUNT.toString(),
children: new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }).format(AMOUNT),
},
};
export const Button = {
args: {
value: AMOUNT.toString(),
children: new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }).format(AMOUNT),
variant: 'button',
},
};
//# sourceMappingURL=Copy.stories.js.map