Add category icons as customizable svgs

This commit is contained in:
Gabe Kangas
2022-05-17 21:20:27 -07:00
parent 0d5d89a1c8
commit 0bf1c7ce48
14 changed files with 804 additions and 7 deletions

View File

@@ -0,0 +1,26 @@
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'],
};