mantis-app
Version:
M.A.N.T.I.S (MongoDB, Analog, Nx, Tailwind CSS, Ionic, Storybook) is not just a CLI tool; it's your passport to a seamless full-stack project launch.
24 lines (21 loc) • 562 B
text/typescript
import type { Meta, StoryObj } from '@storybook/angular';
import { TodoItemComponent } from './todo-item.component';
const meta: Meta<TodoItemComponent> = {
component: TodoItemComponent,
title: 'TodoItemComponent',
parameters: {
layout: 'centered',
},
argTypes: { remove: { action: 'removed' }, update: { action: 'updated' } },
};
export default meta;
type Story = StoryObj<TodoItemComponent>;
export const Primary: Story = {
args: {
todo: {
_id: '1',
title: 'Tell everyone about Mantis',
completed: false,
},
},
};