mirror of
https://github.com/owncast/owncast.git
synced 2024-12-26 02:58:32 +03:00
26 lines
703 B
TypeScript
26 lines
703 B
TypeScript
import React from 'react';
|
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
import CategoryIcon from '../components/ui/CategoryIcon/CategoryIcon';
|
|
|
|
export default {
|
|
title: 'owncast/Components/Category icon',
|
|
component: CategoryIcon,
|
|
parameters: {},
|
|
} as ComponentMeta<typeof CategoryIcon>;
|
|
|
|
const Template: ComponentStory<typeof CategoryIcon> = args => <CategoryIcon {...args} />;
|
|
|
|
export const Game = Template.bind({});
|
|
Game.args = {
|
|
tags: ['games', 'fun'],
|
|
};
|
|
|
|
export const Chat = Template.bind({});
|
|
Chat.args = {
|
|
tags: ['blah', 'chat', 'games', 'fun'],
|
|
};
|
|
|
|
export const Conference = Template.bind({});
|
|
Conference.args = {
|
|
tags: ['blah', 'conference', 'games', 'fun'],
|
|
};
|