0
0
Fork 0

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

This commit is contained in:
Renaud Chaput 2024-01-12 11:31:24 +01:00 committed by GitHub
parent c6684aa1e3
commit 608f66f978
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
106 changed files with 255 additions and 250 deletions

View file

@ -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';