1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-26 15:04:18 +00:00
pds-2021-g2-nest/code/frontend/src/routes/PageAlerts.js

19 lines
609 B
JavaScript
Raw Normal View History

2021-04-21 16:21:30 +00:00
import React from "react"
import Style from "./PageAlerts.module.css"
import classNames from "classnames"
2021-04-21 16:32:36 +00:00
import BoxWithHeader from "../components/BoxWithHeader"
2021-04-21 16:21:30 +00:00
export default function PageAlerts({ children, className, ...props }) {
return (
<div className={classNames(Style.PageAlerts, className)} {...props}>
2021-04-21 16:32:36 +00:00
<BoxWithHeader header={"Your alerts"} className={Style.YourAlerts}>
a
</BoxWithHeader>
<BoxWithHeader header={"Create new alert"} className={Style.CreateAlert}>
b
</BoxWithHeader>
2021-04-21 16:21:30 +00:00
</div>
)
}