feat(events): add nickname requirement dialog for events
All checks were successful
Client CMS Check Build (NixCN CMS) TeamCity build finished
Backend Check Build (NixCN CMS) TeamCity build finished

Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
2026-02-11 22:22:00 +08:00
parent 25a2bf75c5
commit 73ca60e1ce
5 changed files with 66 additions and 5 deletions

View File

@@ -0,0 +1,24 @@
import type { Meta, StoryObj } from '@storybook/react-vite';
import { NicknameNeededDialogView } from '@/components/events/nickname-needed.dialog.view';
import { Dialog } from '@/components/ui/dialog';
const meta = {
title: 'Events/NicknameNeededDialog',
component: NicknameNeededDialogView,
decorators: [
Story => (
<Dialog open={true}>
<Story />
</Dialog>
),
],
} satisfies Meta<typeof NicknameNeededDialogView>;
export default meta;
type Story = StoryObj<typeof meta>;
export const Primary: Story = {
args: {
onAction: () => { },
},
};