import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faLightbulb, faCloudUploadAlt } from '@fortawesome/free-solid-svg-icons'; const NewTaskAdd = props => { const isNewSolution = props.addType === "solution"; return (
Dodawanie {isNewSolution ? "rozwiązania" : "zadania"}
{isNewSolution ?
:
}
) }; export default NewTaskAdd;