10 lines
196 B
TypeScript
10 lines
196 B
TypeScript
import { ComponentChildren } from "preact";
|
|
|
|
export default function Island(props: { children?: ComponentChildren }) {
|
|
return (
|
|
<div class="island">
|
|
{props.children}
|
|
</div>
|
|
);
|
|
}
|