fix(storybook): disable service workflow stories
Temporary until we can decide how best to mock state.
This commit is contained in:
@@ -165,23 +165,23 @@ export default meta;
|
|||||||
|
|
||||||
type Story = StoryObj<typeof ServiceWorkflow>;
|
type Story = StoryObj<typeof ServiceWorkflow>;
|
||||||
|
|
||||||
export const Default: Story = {
|
// export const Default: Story = {
|
||||||
args: {},
|
// args: {},
|
||||||
};
|
// };
|
||||||
|
//
|
||||||
export const SelectRoleMembers: Story = {
|
// export const SelectRoleMembers: Story = {
|
||||||
render: () => (
|
// render: () => (
|
||||||
<ServiceWorkflow
|
// <ServiceWorkflow
|
||||||
handleSubmit={(instance) => {
|
// handleSubmit={(instance) => {
|
||||||
console.log("Submitted instance:", instance);
|
// console.log("Submitted instance:", instance);
|
||||||
}}
|
// }}
|
||||||
onClose={() => {
|
// onClose={() => {
|
||||||
console.log("Closed");
|
// console.log("Closed");
|
||||||
}}
|
// }}
|
||||||
initialStep="select:members"
|
// initialStep="select:members"
|
||||||
initialStore={{
|
// initialStore={{
|
||||||
currentRole: "peer",
|
// currentRole: "peer",
|
||||||
}}
|
// }}
|
||||||
/>
|
// />
|
||||||
),
|
// ),
|
||||||
};
|
// };
|
||||||
|
|||||||
Reference in New Issue
Block a user