File size: 441 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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,
	},
};