16 lines
269 B
TypeScript
16 lines
269 B
TypeScript
import { Head } from "$fresh/runtime.ts";
|
|
|
|
export default function WithStyleSheet({
|
|
children = [],
|
|
href,
|
|
}: {
|
|
children?: any;
|
|
href: string;
|
|
}) {
|
|
return (
|
|
<Head>
|
|
<link rel="stylesheet" href={href}></link>
|
|
</Head>
|
|
);
|
|
}
|