2021-05-18 00:04:06 +00:00
|
|
|
import React, { useContext } from "react"
|
2021-04-21 16:21:30 +00:00
|
|
|
import Style from "./PageAlerts.module.css"
|
|
|
|
import classNames from "classnames"
|
2021-04-29 14:58:31 +00:00
|
|
|
import BoxFull from "../components/base/BoxFull"
|
2021-05-18 00:04:06 +00:00
|
|
|
import ContextLanguage from "../contexts/ContextLanguage"
|
2021-04-21 16:21:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
export default function PageAlerts({ children, className, ...props }) {
|
2021-05-18 00:48:34 +00:00
|
|
|
const { strings } = useContext(ContextLanguage)
|
2021-05-18 00:04:06 +00:00
|
|
|
|
2021-04-21 16:21:30 +00:00
|
|
|
return (
|
|
|
|
<div className={classNames(Style.PageAlerts, className)} {...props}>
|
2021-05-18 16:50:02 +00:00
|
|
|
<BoxFull header={strings.alertTitle} className={Style.YourAlerts}>
|
|
|
|
{strings.notImplemented}
|
2021-04-23 00:26:16 +00:00
|
|
|
</BoxFull>
|
2021-05-18 16:50:02 +00:00
|
|
|
<BoxFull header={strings.alertCreate} className={Style.CreateAlert}>
|
|
|
|
{strings.notImplemented}
|
2021-04-23 00:26:16 +00:00
|
|
|
</BoxFull>
|
2021-04-21 16:21:30 +00:00
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|