Switch to Preact!!!

This commit is contained in:
Gregory Schier
2023-03-09 00:47:25 -08:00
parent d1b5b9c371
commit e647d23adc
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<HTMLDivElement>;
interface Props {
className?: string;
children?: ComponentChildren;
}
export function WindowDragRegion({ className, ...props }: Props) {
return (