This commit is contained in:
2024-09-05 19:33:30 -04:00
parent 51da011d12
commit 7f6116450f
187 changed files with 81911 additions and 388 deletions

View File

@@ -2,21 +2,21 @@ import React from 'react';
import VoteCard from './VoteCard';
export default {
title: 'Components/VoteCard',
component: VoteCard,
title: 'Components/VoteCard',
component: VoteCard,
};
const Template = (args) => <VoteCard {...args} />;
export const Default = Template.bind({});
Default.args = {
number: 5,
onClick: () => null,
number: 5,
onClick: () => null,
};
export const Selected = Template.bind({});
Selected.args = {
number: 8,
isSelected: true,
onClick: () => null,
number: 8,
isSelected: true,
onClick: () => null,
};