mirror of
https://github.com/tuxdotrs/tpanel.git
synced 2025-10-10 21:01:54 +05:30
feat: add icons
This commit is contained in:
@@ -8,8 +8,9 @@ export const CPU = () => {
|
||||
]);
|
||||
|
||||
return (
|
||||
<box cssClasses={["pill"]}>
|
||||
<label label={bind(cpu).as((val) => `CPU: ${parseInt(val) / 1000} °C`)} />
|
||||
<box cssClasses={["pill"]} spacing={5}>
|
||||
<image iconName="fa-cpu-symbolic" />
|
||||
<label label={bind(cpu).as((val) => `${parseInt(val) / 1000} °C`)} />
|
||||
</box>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user