1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-24 05:54:18 +00:00
pds-2021-g2-nest/nest_frontend/routes/PageRepositoryAlertsCreate.js
2021-05-25 17:10:40 +02:00

24 lines
756 B
JavaScript

import React, { useContext } from "react"
import ContextLanguage from "../contexts/ContextLanguage"
import BoxHeader from "../components/base/BoxHeader"
import { faPlus } from "@fortawesome/free-solid-svg-icons"
import PageWithHeader from "../components/base/layout/PageWithHeader"
import makeIcon from "../utils/makeIcon"
import AlertEditor from "../components/providers/AlertEditor"
export default function PageRepositoryAlertsCreate() {
const { strings } = useContext(ContextLanguage)
return (
<PageWithHeader
header={
<BoxHeader>
{makeIcon(faPlus)} {strings.alertCreate}
</BoxHeader>
}
>
<AlertEditor/>
</PageWithHeader>
)
}