diff --git a/src/plugins/start/settings.plugins/components/PluginListActionSheet.tsx b/src/plugins/start/settings.plugins/components/PluginListActionSheet.tsx new file mode 100644 index 0000000..f25b3eb --- /dev/null +++ b/src/plugins/start/settings.plugins/components/PluginListActionSheet.tsx @@ -0,0 +1,33 @@ +import { TableRowAssetIcon } from '@revenge-mod/components' +import { Design } from '@revenge-mod/discord/design' +import type { AnyPlugin } from '@revenge-mod/plugins/_' + +const { ActionSheet, Stack, TableRow, TableRowGroup } = Design + +export interface PluginListActionSheetProps { + title: string + plugins: AnyPlugin[] + sheetKey: string +} + +export default function PluginListActionSheet({ + title, + plugins, +}: PluginListActionSheetProps) { + return ( + + + + {plugins.map(plugin => ( + } + label={plugin.manifest.name} + subLabel={plugin.manifest.id} + /> + ))} + + + + ) +}