Switch to Preact!!!

This commit is contained in:
Gregory Schier
2023-03-09 00:47:25 -08:00
parent 17c734af11
commit 5fbc5edb15
29 changed files with 349 additions and 553 deletions

View File

@@ -1,7 +1,10 @@
import classnames from 'classnames';
import type { HTMLAttributes } from 'react';
import type { ComponentChildren } from 'preact';
type Props = HTMLAttributes<HTMLHeadingElement>;
type Props = {
className?: string;
children?: ComponentChildren;
};
export function Heading({ className, children, ...props }: Props) {
return (