Back to React

This commit is contained in:
Gregory Schier
2023-03-13 09:50:49 -07:00
parent fa1f33a2ac
commit c6653af782
25 changed files with 377 additions and 616 deletions

View File

@@ -1,9 +1,9 @@
import classnames from 'classnames';
import type { ComponentChildren } from 'preact';
import type { ReactNode } from 'react';
type Props = {
className?: string;
children?: ComponentChildren;
children?: ReactNode;
};
export function Heading({ className, children, ...props }: Props) {