Files
Homarr/src/widgets/bitTorrent/BitTorrentTile.tsx

29 lines
597 B
TypeScript
Raw Normal View History

import { IconFileDownload } from '@tabler/icons';
import { defineWidget } from '../helper';
import { IWidget } from '../widgets';
const definition = defineWidget({
id: 'torrents-status',
2022-12-18 23:22:45 +01:00
icon: IconFileDownload,
options: {},
gridstack: {
minWidth: 2,
minHeight: 2,
maxWidth: 2,
maxHeight: 2,
},
component: BitTorrentTile,
});
export type IBitTorrent = IWidget<typeof definition['id'], typeof definition>;
interface BitTorrentTileProps {
widget: IBitTorrent;
}
function BitTorrentTile({ widget }: BitTorrentTileProps) {
return null;
}
export default definition;