0

Fix storybook build

This commit is contained in:
Gabe Kangas 2022-10-20 19:47:55 -07:00
parent 86522cf8fa
commit 5e761b13c4
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA

View File

@ -1,6 +1,7 @@
/* eslint-disable no-useless-escape */
import React from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';
import { RecoilRoot } from 'recoil';
import { CustomPageContent } from './CustomPageContent';
export default {
@ -9,8 +10,11 @@ export default {
parameters: {},
} as ComponentMeta<typeof CustomPageContent>;
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const Template: ComponentStory<typeof CustomPageContent> = args => <CustomPageContent {...args} />;
const Template: ComponentStory<typeof CustomPageContent> = args => (
<RecoilRoot>
<CustomPageContent {...args} />
</RecoilRoot>
);
export const Example1 = Template.bind({});
Example1.args = {