Improve UI

This commit is contained in:
Aj - Thomas
2022-05-04 07:12:22 +02:00
parent 4a7480f94e
commit 4245a273fe
6 changed files with 141 additions and 85 deletions

View File

@@ -1,7 +1,18 @@
import AppShelf from './AppShelf';
import AppShelf, { AppShelfItem } from './AppShelf';
export default {
title: 'Item Shelf',
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: '',
},
},
};
export const Default = (args: any) => <AppShelf {...args} />;
export const One = (args: any) => <AppShelfItem {...args} />;