Add multi-approver support
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
committed by
Sacha Al Himdani
parent
3d8c7c4dd6
commit
93c7b0c2dc
@@ -1,5 +1,6 @@
|
||||
import type { Meta, StoryObj } from "@storybook/react";
|
||||
import { type FC, Fragment, useState } from "react";
|
||||
// eslint-disable-next-line import-x/no-unresolved -- storybook v10 subpath export
|
||||
import { fn } from "storybook/test";
|
||||
|
||||
import { Badge } from "../../Atoms/Badge/Badge";
|
||||
@@ -15,7 +16,8 @@ export default {
|
||||
title: "Atoms/DataTable/Cells",
|
||||
component: Fragment as Component,
|
||||
argTypes: {},
|
||||
args: { onUpdate: fn() },
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-call -- fn type unresolvable due to storybook/test subpath
|
||||
args: { onUpdate: fn() as (key: string, value: unknown) => void },
|
||||
} satisfies Meta<Component>;
|
||||
|
||||
type Story = StoryObj<Component>;
|
||||
|
||||
Reference in New Issue
Block a user