chore: silence storybook errors
This commit is contained in:
parent
8b7a964f4a
commit
d2d9ebe54a
7 changed files with 22 additions and 13 deletions
|
@ -17,7 +17,8 @@ const meta: Meta<BlobPreview> = {
|
||||||
onLoaded: {
|
onLoaded: {
|
||||||
action: "loaded",
|
action: "loaded",
|
||||||
},
|
},
|
||||||
},
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
} as any,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default meta;
|
export default meta;
|
||||||
|
@ -32,8 +33,8 @@ export const ImageVertical: Story = {
|
||||||
};
|
};
|
||||||
|
|
||||||
export const Audio: Story = {
|
export const Audio: Story = {
|
||||||
args: {address: audioAddress}
|
args: { address: audioAddress },
|
||||||
}
|
};
|
||||||
|
|
||||||
export const Video: Story = {
|
export const Video: Story = {
|
||||||
args: { address: videoAddress },
|
args: { address: videoAddress },
|
||||||
|
|
|
@ -30,7 +30,8 @@ const meta: Meta<BlobViewer> = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
decorators: [() => RouterDecorator],
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
decorators: [() => RouterDecorator as any],
|
||||||
};
|
};
|
||||||
|
|
||||||
export default meta;
|
export default meta;
|
||||||
|
|
|
@ -20,7 +20,8 @@ const meta: Meta<Gallery> = {
|
||||||
videoVerticalAddress,
|
videoVerticalAddress,
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
decorators: [() => RouterDecorator],
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
decorators: [() => RouterDecorator as any],
|
||||||
};
|
};
|
||||||
|
|
||||||
export default meta;
|
export default meta;
|
||||||
|
|
|
@ -11,10 +11,12 @@ const meta: Meta<Selector> = {
|
||||||
action: "input",
|
action: "input",
|
||||||
},
|
},
|
||||||
onFocus: {
|
onFocus: {
|
||||||
action: "focus"
|
action: "focus",
|
||||||
}
|
|
||||||
},
|
},
|
||||||
decorators: [() => RouterDecorator], // due to upobject link in selected state
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
} as any,
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
decorators: [() => RouterDecorator as any], // due to upobject link in selected state
|
||||||
};
|
};
|
||||||
|
|
||||||
export default meta;
|
export default meta;
|
||||||
|
|
|
@ -10,7 +10,8 @@ const meta: Meta<Surface> = {
|
||||||
parameters: {
|
parameters: {
|
||||||
layout: "fullscreen",
|
layout: "fullscreen",
|
||||||
},
|
},
|
||||||
decorators: [() => FullscreenDecorator, () => RouterDecorator],
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
decorators: [() => FullscreenDecorator as any, () => RouterDecorator as any],
|
||||||
};
|
};
|
||||||
|
|
||||||
export default meta;
|
export default meta;
|
||||||
|
|
|
@ -21,7 +21,8 @@ const meta: Meta<UpObject> = {
|
||||||
onResolved: {
|
onResolved: {
|
||||||
action: "resolved",
|
action: "resolved",
|
||||||
},
|
},
|
||||||
},
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
} as any,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default meta;
|
export default meta;
|
||||||
|
@ -40,7 +41,8 @@ export const Link: Story = {
|
||||||
args: {
|
args: {
|
||||||
link: true,
|
link: true,
|
||||||
},
|
},
|
||||||
decorators: [() => RouterDecorator],
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
decorators: [() => RouterDecorator as any],
|
||||||
};
|
};
|
||||||
|
|
||||||
export const Banner: Story = {
|
export const Banner: Story = {
|
||||||
|
|
|
@ -19,7 +19,8 @@ const meta: Meta<UpObjectCard> = {
|
||||||
type: "string",
|
type: "string",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
decorators: [() => RouterDecorator],
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
decorators: [() => RouterDecorator as any],
|
||||||
};
|
};
|
||||||
|
|
||||||
export default meta;
|
export default meta;
|
||||||
|
|
Loading…
Reference in a new issue