Files
UT-Registration-Plus/src/stories/components/InfoCard.stories.tsx
doprz 8a6e9070e0 chore: lint-format-docs-tests-bugfixes (#105)
* docs: add jsdoc

* feat: change enums to as const objects

* chore(test): add themeColors.test.ts

* fix: fix tests and bugs with strings.ts util

* fix: path alias imports and tsconfig file bug

* fix: remove --max-warnings 0
2024-03-06 15:11:27 -06:00

26 lines
605 B
TypeScript

import type { Meta, StoryObj } from '@storybook/react';
import { InfoCard } from '@views/components/common/InfoCard/InfoCard';
const meta = {
title: 'Components/Common/InfoCard',
component: InfoCard,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
argTypes: {
titleText: { control: 'text' },
bodyText: { control: 'text' },
},
} satisfies Meta<typeof InfoCard>;
export default meta;
type Story = StoryObj<typeof meta>;
export const Default: Story = {
args: {
titleText: 'WAITLIST SIZE',
bodyText: '14 Students',
},
};