10 lines
203 B
TypeScript
10 lines
203 B
TypeScript
import type { ComponentChildren } from "preact";
|
|
|
|
export function PassThrough(props: { children?: ComponentChildren }) {
|
|
return (
|
|
<div class="passthrough">
|
|
{props.children}
|
|
</div>
|
|
);
|
|
}
|