Change icon SVG imports to use a default import (#28709)
This commit is contained in:
parent
c6684aa1e3
commit
608f66f978
106 changed files with 255 additions and 250 deletions
|
@ -9,9 +9,9 @@ import { withRouter } from 'react-router-dom';
|
|||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||
|
||||
import { ReactComponent as AddIcon } from '@material-symbols/svg-600/outlined/add.svg';
|
||||
import { ReactComponent as ChevronLeftIcon } from '@material-symbols/svg-600/outlined/chevron_left.svg';
|
||||
import { ReactComponent as ChevronRightIcon } from '@material-symbols/svg-600/outlined/chevron_right.svg';
|
||||
import AddIcon from '@material-symbols/svg-600/outlined/add.svg?react';
|
||||
import ChevronLeftIcon from '@material-symbols/svg-600/outlined/chevron_left.svg?react';
|
||||
import ChevronRightIcon from '@material-symbols/svg-600/outlined/chevron_right.svg?react';
|
||||
import TransitionMotion from 'react-motion/lib/TransitionMotion';
|
||||
import spring from 'react-motion/lib/spring';
|
||||
import ReactSwipeableViews from 'react-swipeable-views';
|
||||
|
|
|
@ -9,17 +9,17 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
|
|||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { ReactComponent as AlternateEmailIcon } from '@material-symbols/svg-600/outlined/alternate_email.svg';
|
||||
import { ReactComponent as BookmarksIcon } from '@material-symbols/svg-600/outlined/bookmarks-fill.svg';
|
||||
import { ReactComponent as PeopleIcon } from '@material-symbols/svg-600/outlined/group.svg';
|
||||
import { ReactComponent as HomeIcon } from '@material-symbols/svg-600/outlined/home-fill.svg';
|
||||
import { ReactComponent as ListAltIcon } from '@material-symbols/svg-600/outlined/list_alt.svg';
|
||||
import { ReactComponent as MenuIcon } from '@material-symbols/svg-600/outlined/menu.svg';
|
||||
import { ReactComponent as PersonAddIcon } from '@material-symbols/svg-600/outlined/person_add.svg';
|
||||
import { ReactComponent as PublicIcon } from '@material-symbols/svg-600/outlined/public.svg';
|
||||
import { ReactComponent as SettingsIcon } from '@material-symbols/svg-600/outlined/settings-fill.svg';
|
||||
import { ReactComponent as StarIcon } from '@material-symbols/svg-600/outlined/star.svg';
|
||||
import { ReactComponent as TagIcon } from '@material-symbols/svg-600/outlined/tag.svg';
|
||||
import AlternateEmailIcon from '@material-symbols/svg-600/outlined/alternate_email.svg?react';
|
||||
import BookmarksIcon from '@material-symbols/svg-600/outlined/bookmarks-fill.svg?react';
|
||||
import PeopleIcon from '@material-symbols/svg-600/outlined/group.svg?react';
|
||||
import HomeIcon from '@material-symbols/svg-600/outlined/home-fill.svg?react';
|
||||
import ListAltIcon from '@material-symbols/svg-600/outlined/list_alt.svg?react';
|
||||
import MenuIcon from '@material-symbols/svg-600/outlined/menu.svg?react';
|
||||
import PersonAddIcon from '@material-symbols/svg-600/outlined/person_add.svg?react';
|
||||
import PublicIcon from '@material-symbols/svg-600/outlined/public.svg?react';
|
||||
import SettingsIcon from '@material-symbols/svg-600/outlined/settings-fill.svg?react';
|
||||
import StarIcon from '@material-symbols/svg-600/outlined/star.svg?react';
|
||||
import TagIcon from '@material-symbols/svg-600/outlined/tag.svg?react';
|
||||
|
||||
import { fetchFollowRequests } from 'mastodon/actions/accounts';
|
||||
import Column from 'mastodon/components/column';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue