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

@@ -23,6 +23,7 @@ import axios from '../utility/axios';
import LoadingInfo from '../widgets/LoadingInfo';
import SqlEditor from '../sqleditor/SqlEditor';
import { useUploadsProvider } from '../utility/UploadsProvider';
import { FontIcon } from '../icons';
const Container = styled.div`
// max-height: 50vh;
@@ -294,7 +295,7 @@ function SourceName({ name }) {
<SourceNameWrapper>
<div>{name}</div>
<TrashWrapper onClick={handleDelete}>
<span className="mdi mdi-delete" />
<FontIcon icon="mdi mdi-delete" />
</TrashWrapper>
</SourceNameWrapper>
);
@@ -352,7 +353,7 @@ export default function ImportExportConfigurator({ uploadedFile = undefined }) {
engine={sourceEngine}
/>
<ArrowWrapper>
<span className="mdi mdi-arrow-right" />
<FontIcon icon="mdi mdi-arrow-right" />
</ArrowWrapper>
<SourceTargetConfig
direction="target"