forked from Shinonome/dots-hyprland
ags: update to new syntax
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Widget } from '../imports.js';
|
||||
import Widget from 'resource:///com/github/Aylur/ags/widget.js';
|
||||
|
||||
export const MaterialIcon = (icon, size, props = {}) => Widget.Label({
|
||||
className: `icon-material txt-${size}`,
|
||||
label: icon,
|
||||
...props,
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user