We're having a growing number of packages in this repository. This PR moves them into a `packages/` directory like it's commonly done in other projects.
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>
|
|
);
|
|
}
|