@ -4,7 +4,7 @@ import Alert from "./components/Alert";
function App() {
return (
<div>
<Alert>Hello Marx</Alert>
<Alert>Hello <strong>Marx</strong></Alert>
</div>
);
}
@ -1,5 +1,7 @@
import type { ReactNode } from "react";
interface Props{
children: string;
children: ReactNode;
function Alert({children} : Props) {