@wix/design-system
Version:
@wix/design-system
17 lines • 674 B
JavaScript
import React from 'react';
import Text from './Text';
export default {
title: 'Text',
component: Text,
};
const Template = args => (React.createElement("div", { style: { width: '500px' } },
React.createElement(Text, { ...args })));
const text = 'The sun dipped below the horizon, casting hues of orange and pink across the sky. A gentle breeze rustled through the trees, carrying with it the scent of freshly cut grass. Birds chirped their evening songs, signaling the transition from day to night.';
const commonProps = {
children: text,
};
export const Basic = Template.bind({});
Basic.args = {
...commonProps,
};
//# sourceMappingURL=Text.story.js.map