diff --git a/app/javascript/mastodon/features/antenna_setting/components/text_list.jsx b/app/javascript/mastodon/features/antenna_setting/components/text_list.jsx index 25574a3b0d8c2e..0f27a9ac057b6a 100644 --- a/app/javascript/mastodon/features/antenna_setting/components/text_list.jsx +++ b/app/javascript/mastodon/features/antenna_setting/components/text_list.jsx @@ -6,6 +6,8 @@ import { injectIntl } from 'react-intl'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { connect } from 'react-redux'; +import { ReactComponent as DeleteIcon } from '@material-symbols/svg-600/outlined/delete.svg'; + import { Button } from 'mastodon/components/button'; import { Icon } from 'mastodon/components/icon'; import { IconButton } from 'mastodon/components/icon_button'; @@ -14,6 +16,7 @@ class TextListItem extends PureComponent { static propTypes = { icon: PropTypes.string.isRequired, + iconComponent: PropTypes.object.isRequired, value: PropTypes.string.isRequired, onRemove: PropTypes.func.isRequired, }; @@ -23,13 +26,13 @@ class TextListItem extends PureComponent { }; render () { - const { icon, value } = this.props; + const { icon, iconComponent, value } = this.props; return (