mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-25 06:24:19 +00:00
25 lines
797 B
JavaScript
25 lines
797 B
JavaScript
import React, { useContext } from "react"
|
|
import ContextLanguage from "../contexts/ContextLanguage"
|
|
import BoxHeader from "../components/base/BoxHeader"
|
|
import { useParams } from "react-router"
|
|
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>
|
|
)
|
|
}
|