2021-05-25 02:28:51 +00:00
|
|
|
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"
|
2021-05-25 13:38:10 +00:00
|
|
|
import AlertEditor from "../components/providers/AlertEditor"
|
2021-05-25 02:28:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
export default function PageRepositoryAlertsCreate() {
|
|
|
|
const { strings } = useContext(ContextLanguage)
|
|
|
|
|
|
|
|
return (
|
|
|
|
<PageWithHeader
|
|
|
|
header={
|
|
|
|
<BoxHeader>
|
|
|
|
{makeIcon(faPlus)} {strings.alertCreate}
|
|
|
|
</BoxHeader>
|
|
|
|
}
|
|
|
|
>
|
2021-05-25 13:38:10 +00:00
|
|
|
<AlertEditor/>
|
2021-05-25 02:28:51 +00:00
|
|
|
</PageWithHeader>
|
|
|
|
)
|
|
|
|
}
|