mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-23 07:04:22 +00:00
14 lines
241 B
TypeScript
14 lines
241 B
TypeScript
|
import { ReactNode } from "react"
|
||
|
|
||
|
type ViewNoticeProps = {
|
||
|
notice: ReactNode
|
||
|
}
|
||
|
|
||
|
|
||
|
export function ViewNotice(props: ViewNoticeProps) {
|
||
|
return (
|
||
|
<main className="view-notice">
|
||
|
{props.notice}
|
||
|
</main>
|
||
|
)
|
||
|
}
|