mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-24 10:21:37 +01:00
Switch to Preact!!!
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user