From 4581c262ca06704baaa3c0a172d509207f41f5c3 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Sat, 21 May 2022 18:42:19 +0200 Subject: chore: complete Storybook stories --- src/components/organisms/layout/comments-list.stories.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/components/organisms/layout/comments-list.stories.tsx') diff --git a/src/components/organisms/layout/comments-list.stories.tsx b/src/components/organisms/layout/comments-list.stories.tsx index 4d95205..1ed159a 100644 --- a/src/components/organisms/layout/comments-list.stories.tsx +++ b/src/components/organisms/layout/comments-list.stories.tsx @@ -1,5 +1,5 @@ import { ComponentMeta, ComponentStory } from '@storybook/react'; -import CommentsListComponent, { Comment } from './comments-list'; +import CommentsListComponent, { type Comment } from './comments-list'; const saveComment = async () => { /** Do nothing. */ @@ -29,6 +29,8 @@ export default { depth: { control: { type: 'number', + min: 0, + max: 4, }, description: 'The maximum depth. Use `0` to not display nested comments.', type: { -- cgit v1.2.3