import React from "react" import BoxFull from "../base/BoxFull" import FormLabelled from "../base/FormLabelled" import FormLabel from "../base/formparts/FormLabel" import InputWithIcon from "../base/InputWithIcon" import { faBell, faPlus, faStopwatch, faThermometerThreeQuarters } from "@fortawesome/free-solid-svg-icons" import Radio from "../base/Radio" import Button from "../base/Button" import FormAlert from "../base/formparts/FormAlert" import useStrings from "../../hooks/useStrings" export default function BoxAlertCreate( { name, setName, evaluationMode, setEvaluationMode, limit, setLimit, windowSize, setWindowSize, running, error, save, ...props }) { const strings = useStrings() return ( { e.preventDefault() save() }} > setName(e.target.value)} />   setLimit(e.target.value)} /> setWindowSize(e.target.value)} /> {error ? {strings[error.data.code]} : null} ) }