Fill out some more components + add application state enums
This commit is contained in:
@@ -2,12 +2,6 @@ import React from 'react';
|
||||
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
||||
import ChatTextField from '../components/chat/ChatTextField';
|
||||
|
||||
const Example = () => (
|
||||
<div>
|
||||
<ChatTextField />
|
||||
</div>
|
||||
);
|
||||
|
||||
export default {
|
||||
title: 'owncast/Chat/Input text field',
|
||||
component: ChatTextField,
|
||||
@@ -15,7 +9,7 @@ export default {
|
||||
} as ComponentMeta<typeof ChatTextField>;
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const Template: ComponentStory<typeof ChatTextField> = args => <Example />;
|
||||
const Template: ComponentStory<typeof ChatTextField> = args => <ChatTextField />;
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
export const Basic = Template.bind({});
|
||||
export const Example = Template.bind({});
|
||||
|
||||
Reference in New Issue
Block a user