tangled
alpha
login
or
join now
cosmik.network
/
semble
44
fork
atom
A social knowledge tool for researchers built on ATProto
44
fork
atom
overview
issues
13
pulls
pipelines
docs: note card story
Pouria Delfanazari
5 months ago
c4d3656b
c4e43aa4
+15
1 changed file
expand all
collapse all
unified
split
src
webapp
features
notes
components
noteCard
NoteCard.stories.tsx
+15
src/webapp/features/notes/components/noteCard/NoteCard.stories.tsx
···
1
1
+
import type { Meta, StoryObj } from '@storybook/nextjs-vite';
2
2
+
import NoteCard from './NoteCard';
3
3
+
4
4
+
const meta = {
5
5
+
component: NoteCard,
6
6
+
} satisfies Meta<typeof NoteCard>;
7
7
+
8
8
+
export default meta;
9
9
+
type Story = StoryObj<typeof meta>;
10
10
+
11
11
+
export const Primary: Story = {
12
12
+
args: {
13
13
+
note: `This is the note's content`,
14
14
+
},
15
15
+
};