Files
Homarr/components/AppShelf/AppShelf.story.tsx

19 lines
479 B
TypeScript
Raw Normal View History

2022-05-04 07:12:22 +02:00
import AppShelf, { AppShelfItem } from './AppShelf';
2022-04-26 00:14:42 +02:00
export default {
title: 'Item Shelf',
2022-05-04 07:12:22 +02:00
component: AppShelf,
args: {
service: {
name: 'qBittorrent',
url: 'http://',
icon: 'https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/qBittorrent/icon.png',
type: 'qBittorrent',
apiKey: '',
},
},
2022-04-26 00:14:42 +02:00
};
2022-04-30 21:51:37 +02:00
export const Default = (args: any) => <AppShelf {...args} />;
export const One = (args: any) => <AppShelfItem {...args} />;