mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
10 lines
273 B
TypeScript
10 lines
273 B
TypeScript
import type { HTMLAttributes, PropsWithChildren } from 'react';
|
|
|
|
export default function H1({ children, className, ...props }: PropsWithChildren<HTMLAttributes<HTMLHeadingElement>>) {
|
|
return (
|
|
<h1 className={`group ${className}`} {...props}>
|
|
{children}
|
|
</h1>
|
|
);
|
|
}
|