Download wp-calypso/client/dashboard/components/stat/index.stories.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 441 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/dashboard/components/stat/index.stories.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/dashboard/components/stat/index.stories.tsx
-
curl -L -o index.stories.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/dashboard/components/stat/index.stories.tsx
441 Bytes
| import { Meta, StoryObj } from '@storybook/react'; | |
| import { Stat } from './'; | |
| const meta: Meta< typeof Stat > = { | |
| title: 'client/dashboard/Stat', | |
| component: Stat, | |
| tags: [ 'autodocs' ], | |
| }; | |
| export default meta; | |
| type Story = StoryObj< typeof Stat >; | |
| export const Default: Story = { | |
| args: { | |
| density: 'low', | |
| strapline: 'Views', | |
| metric: '1.3 M', | |
| description: '33% left', | |
| descriptionAlignment: 'start', | |
| progressValue: 15, | |
| }, | |
| }; | |