Skip to content

Commit

Permalink
TWNTY-895 - Add ui/checkmark stories (#960)
Browse files Browse the repository at this point in the history
Add ui/checkmark stories

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
  • Loading branch information
3 people authored Jul 27, 2023
1 parent e3d5f0b commit 52399d4
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import type { Meta, StoryObj } from '@storybook/react';

import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';

import { Checkmark } from '../Checkmark';

const meta: Meta<typeof Checkmark> = {
title: 'UI/Checkmark/Checkmark',
component: Checkmark,
decorators: [ComponentDecorator],
};

export default meta;
type Story = StoryObj<typeof Checkmark>;

export const Default: Story = { args: {} };

export const WithCustomStyles: Story = {
args: { style: { backgroundColor: 'red', height: 40, width: 40 } },
};

0 comments on commit 52399d4

Please sign in to comment.