+
+
+
+ }
+ >
+
+
+
+
+ {props.plugin.name}
+
+ {props.plugin.id}
+
+
+
+ |
+
+ {props.plugin.type || "ui"}
+ |
+
+ v{props.plugin.version || "1.0.0"}
+ |
+
+
+ {props.plugin.author || "Community"}
+
+ |
+
+
+
+ {t(`global.${props.plugin.enabled ? "enable" : "disable"}`)}
+
+
+ Root
+
+
+ |
+
+
+ |
+
+ )
+}
+
+export function PluginGridItem(props: PluginItemProps) {
+ const t = useT()
+ const shadow = useColorModeValue("$sm", "$none")
+ const bg = useColorModeValue("$white", "$neutral3")
+ const borderColor = useColorModeValue("$neutral4", "$neutral5")
+
+ return (
+