First Commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import { DetailedHTMLProps, HTMLAttributes } from "react";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
|
||||
/**
|
||||
* # H5 Headers
|
||||
* @className twui-h5
|
||||
*/
|
||||
export default function H5({
|
||||
...props
|
||||
}: DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) {
|
||||
return (
|
||||
<h5
|
||||
{...props}
|
||||
className={twMerge(
|
||||
"mb-4",
|
||||
"twui-headings twui-heading",
|
||||
"twui-h5",
|
||||
props.className
|
||||
)}
|
||||
>
|
||||
{props.children}
|
||||
</h5>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user