monitor controls header
This commit is contained in:
1 parent
d42d5f2325
commit
f7ae11997d
5 files changed
+108
-7
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import type { LucideIcon } from "lucide-react";
|
||||
|
||||
interface IconProps {
|
||||
icon: LucideIcon;
|
||||
size?: number;
|
||||
strokeWidth?: number;
|
||||
}
|
||||
|
||||
const Icon = ({ icon: Icon, size = 20, strokeWidth = 1.5 }: IconProps) => {
|
||||
return <Icon size={size} strokeWidth={strokeWidth} />;
|
||||
};
|
||||
|
||||
export default Icon;
|
||||
@@ -11,3 +11,4 @@ export * from "./StatusLabel";
|
||||
export * from "./PulseDot";
|
||||
export * from "./Dot";
|
||||
export * from "./MonitorStatus";
|
||||
export { default as Icon } from "./Icon";
|
||||
Reference in new issue
Block a user