This commit is contained in:
wt committed 2025-03-11 17:51:22 +07:00
1 parent dddb4bce11
commit 3edfbc19f6
11 files changed
+134 -116

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import { Variable } from "astal";
import computeStorage from "./helpers";
export default function Storage() {
const storage_usage = Variable<string>("").poll(5000, () => computeStorage());
return (
<box className="storage">
<label
className="Storage"
onDestroy={() => storage_usage.drop()}
label={storage_usage()}
/>
</box>
);
}