mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
10 lines
265 B
TypeScript
10 lines
265 B
TypeScript
import type { HTMLAttributes, PropsWithChildren } from 'react';
|
|
|
|
export function H2({ children, className, ...props }: PropsWithChildren<HTMLAttributes<HTMLHeadingElement>>) {
|
|
return (
|
|
<h2 className={`group ${className}`} {...props}>
|
|
{children}
|
|
</h2>
|
|
);
|
|
}
|