1
Fork 0
mirror of https://github.com/Steffo99/unisteffo.git synced 2024-11-23 00:14:21 +00:00
triennale-appunti-steffo/components/Topic.tsx

19 lines
279 B
TypeScript

import React from "react"
export interface TopicProps {
children: React.ReactNode,
heading: React.ReactNode,
}
export function Topic(props: TopicProps) {
return (
<section className="panel box">
<h3>
{props.heading}
</h3>
{props.children}
</section>
)
}