1
0
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:
Alex Andreev 2021-12-02 14:17:13 +03:00
parent f85f3cb1e2
commit aa4a565911

View File

@ -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>
); );