mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-24 02:11:10 +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<HTMLHeadingElement>;
|
||||
type Props = {
|
||||
className?: string;
|
||||
children?: ComponentChildren;
|
||||
};
|
||||
|
||||
export function Heading({ className, children, ...props }: Props) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user