Start of empty follower tab state. For #1913

This commit is contained in:
Gabe Kangas
2022-10-09 20:31:07 -07:00
parent 87ee74e9c2
commit dd5b8e7ce5
5 changed files with 36 additions and 9 deletions

View File

@@ -1,5 +1,6 @@
import React from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';
import { RecoilRoot } from 'recoil';
import { FollowerCollection } from './FollowerCollection';
export default {
@@ -9,7 +10,9 @@ export default {
} as ComponentMeta<typeof FollowerCollection>;
const Template: ComponentStory<typeof FollowerCollection> = (args: object) => (
<FollowerCollection {...args} />
<RecoilRoot>
<FollowerCollection name="Example stream name" {...args} />
</RecoilRoot>
);
export const NoFollowers = Template.bind({});