Closed adriancoliba closed 3 years ago
This doesn't seem to work (at least if using in typescript file) - with the following error:
Argument of type '{ barThickness: number; barColors: { '0': any; }; shadowBlur: number; className: string; }' is not assignable to parameter of type 'TopBarConfig'.
Object literal may only specify known properties, and 'className' does not exist in type 'TopBarConfig'.ts(2345)
@vraravam PR welcome to add this parameter !
Hi, Could you add an id or class to topbar canvas element so that it would be easier to style it? Thank you.
Edit: Nevermind, I've added
className: "topbar"
to the config and it worked!