import { ReactComponent as YourSvg } from '../../svg/add-user.svg';
// ...
<YourSvg className={styles.glowingIcon} />
<i className="icon-add-user" />
%icon {
display: inline-block;
mask-position: center center;
mask-size: 100%;
mask-repeat: no-repeat;
width: 24px;
height: 24px;
background-color: #ffffff;
}
.icon-add-user {
@extend %icon;
mask-image: url(../svg/add-user.svg);
}
if(!content.length) e.target.value = '';
"dependencies": {
"@apollo/react-hooks": "^4.0.0",
"apollo-boost": "^0.4.9",
"apollo-cache-inmemory": "^1.6.6",
"apollo-client": "^2.6.10",
"apollo-link-ws": "^1.0.20",
"firebase": "^9.6.8",
"graphql": "^14.7.0",
"graphql-tag": "^2.12.6",
"graphql-tools": "^4.0.8",
"react": "^16.8.6",
"react-apollo": "^3.1.5",
"react-dom": "^16.8.6",
"react-redux": "7.0.3",
"react-router-dom": "^5.3.0",
"react-scripts": "^5.0.0",
"react-stripe-checkout": "2.6.3",
"redux": "4.0.1",
"redux-logger": "3.0.6",
"redux-persist": "5.10.0",
"reselect": "4.0.0",
"sass": "^1.49.9"
},
А у тебя раньше работало иначе? У меня ни в одном проекте по-другому не работало