You have Node installed at v10.0.0+ and Yarn at v1.2.0+. You are familiar with Git.
- Go to https://icomoon.io/app/#/select
- Upload the latest
selection.json
in theiconmoon
folder - In the iconmoon web app, just upload whatever svg you want to add. Be sure to center it and name it properly.
- Generate the new web font
- Download it
- Unzip it
- Copy the whole unzipped folder to update this repository
Run the following command before:
yarn build
import React from 'react';
import { ReactElement } from 'react';
const Icon = 'mt-web-icons';
export default function IconAuto(): ReactElement {
return <Icon name="auto" width={100} height={100} fill="#ffffff" />;
}
import React from 'react';
import { ReactElement } from 'react';
const Icon = 'mt-web-icons';
export default function IconAuto(): ReactElement {
return <Icon name="Auto" placeholder={null} fallback={<div />} />;
}
import React from 'react';
import { ReactElement } from 'react';
import { Auto } from 'mt-web-icons';
export default function Icon(): ReactElement {
return <Auto width={100} height={100} fill="#ffffff" />;
}