Change icon SVG imports to use a default import (#28709)

This commit is contained in:
Renaud Chaput authored and GitHub committed 2024-01-12 10:31:24 +00:00
1 parent c6684aa1e3
commit 608f66f978
106 files changed
+255 -250

No files matched your search

@@ -6,9 +6,9 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
import ImmutablePureComponent from 'react-immutable-pure-component';
import { connect } from 'react-redux';
import { ReactComponent as AddIcon } from '@material-symbols/svg-600/outlined/add.svg';
import { ReactComponent as CloseIcon } from '@material-symbols/svg-600/outlined/close.svg';
import { ReactComponent as ListAltIcon } from '@material-symbols/svg-600/outlined/list_alt.svg';
import AddIcon from '@material-symbols/svg-600/outlined/add.svg?react';
import CloseIcon from '@material-symbols/svg-600/outlined/close.svg?react';
import ListAltIcon from '@material-symbols/svg-600/outlined/list_alt.svg?react';
import { Icon } from 'mastodon/components/icon';