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
|
@ -7,12 +7,12 @@ import classNames from 'classnames';
|
|||
|
||||
import { is } from 'immutable';
|
||||
|
||||
import { ReactComponent as DownloadIcon } from '@material-symbols/svg-600/outlined/download.svg';
|
||||
import { ReactComponent as PauseIcon } from '@material-symbols/svg-600/outlined/pause.svg';
|
||||
import { ReactComponent as PlayArrowIcon } from '@material-symbols/svg-600/outlined/play_arrow-fill.svg';
|
||||
import { ReactComponent as VisibilityOffIcon } from '@material-symbols/svg-600/outlined/visibility_off.svg';
|
||||
import { ReactComponent as VolumeOffIcon } from '@material-symbols/svg-600/outlined/volume_off-fill.svg';
|
||||
import { ReactComponent as VolumeUpIcon } from '@material-symbols/svg-600/outlined/volume_up-fill.svg';
|
||||
import DownloadIcon from '@material-symbols/svg-600/outlined/download.svg?react';
|
||||
import PauseIcon from '@material-symbols/svg-600/outlined/pause.svg?react';
|
||||
import PlayArrowIcon from '@material-symbols/svg-600/outlined/play_arrow-fill.svg?react';
|
||||
import VisibilityOffIcon from '@material-symbols/svg-600/outlined/visibility_off.svg?react';
|
||||
import VolumeOffIcon from '@material-symbols/svg-600/outlined/volume_off-fill.svg?react';
|
||||
import VolumeUpIcon from '@material-symbols/svg-600/outlined/volume_up-fill.svg?react';
|
||||
import { throttle, debounce } from 'lodash';
|
||||
|
||||
import { Icon } from 'mastodon/components/icon';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue