using fonticon instead of span

This commit is contained in:
Jan Prochazka
2020-11-10 17:34:00 +01:00
parent 1169e23997
commit 1c2dedfef3
20 changed files with 77 additions and 42 deletions

View File

@@ -1,4 +1,5 @@
import React from 'react';
import { FontIcon } from '../icons';
import { showMenu } from '../modals/DropDownMenu';
import InlineButton from './InlineButton';
@@ -12,7 +13,7 @@ export default function DropDownButton({ children }) {
return (
<InlineButton buttonRef={buttonRef} onClick={handleShowMenu} square>
<span className="mdi mdi-chevron-down" />
<FontIcon icon="mdi mdi-chevron-down" />
</InlineButton>
);
}