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