mdi font icons

This commit is contained in:
Jan Prochazka
2020-11-09 21:03:52 +01:00
parent ca6d552f5b
commit 00d693e9e4
24 changed files with 31 additions and 169 deletions

View File

@@ -1,14 +1,13 @@
import _ from 'lodash';
import { filterName } from '@dbgate/datalib';
import { MacroIcon, StartIcon } from '../icons';
const macroAppObject = () => ({ name, type, title, group }, { setOpenedTabs }) => {
const key = name;
const Icon = MacroIcon;
const icon = 'mdi mdi-hammer-wrench';
const matcher = (filter) => filterName(filter, name, title);
const groupTitle = group;
return { title, key, Icon, groupTitle, matcher };
return { title, key, icon, groupTitle, matcher };
};
export default macroAppObject;