mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
This is a squash merge of a bajillion messy small commits created while iterating on the UI component library and redesign.
25 lines
509 B
TypeScript
25 lines
509 B
TypeScript
import type { Meta, StoryObj } from '@storybook/react';
|
|
|
|
import type { InvCardProps } from './types';
|
|
import { InvCard } from './wrapper';
|
|
|
|
const meta: Meta<typeof InvCard> = {
|
|
title: 'Primitives/InvCard',
|
|
tags: ['autodocs'],
|
|
component: InvCard,
|
|
args: {
|
|
colorScheme: 'base',
|
|
},
|
|
};
|
|
|
|
export default meta;
|
|
type Story = StoryObj<typeof InvCard>;
|
|
|
|
const Component = (props: InvCardProps) => {
|
|
return <InvCard {...props}>Invoke</InvCard>;
|
|
};
|
|
|
|
export const Default: Story = {
|
|
render: Component,
|
|
};
|