mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Using Icon size prop
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
f85f3cb1e2
commit
aa4a565911
@ -33,7 +33,7 @@ export const ActiveHotbarName = observer(() => {
|
|||||||
data-testid="current-hotbar-name"
|
data-testid="current-hotbar-name"
|
||||||
onClick={() => CommandOverlay.open(<HotbarSwitchCommand />)}
|
onClick={() => CommandOverlay.open(<HotbarSwitchCommand />)}
|
||||||
>
|
>
|
||||||
<Icon material="bookmarks" className="mr-2" style={{ "--size": "14px" } as React.CSSProperties}/>
|
<Icon material="bookmarks" className="mr-2" size={14}/>
|
||||||
{HotbarStore.getInstance().getActive()?.name}
|
{HotbarStore.getInstance().getActive()?.name}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user