upgrade the project
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { fontFangZhengXiaoBiaoSongCN } from "@/styles/font";
|
||||
|
||||
export const H2 = (props: JSX.IntrinsicElements["h2"]) => {
|
||||
const H2 = (props: JSX.IntrinsicElements["h2"]) => {
|
||||
return (
|
||||
<h2 className={`${fontFangZhengXiaoBiaoSongCN.className} mt-4 mb-2 scroll-mt-20`} id={props.id}>
|
||||
<h2 className={`font-fang-zheng-xiao-biao-song scroll-mt-20`} id={props.id}>
|
||||
{props.children}
|
||||
</h2>
|
||||
);
|
||||
};
|
||||
|
||||
export default H2;
|
||||
|
||||
Reference in New Issue
Block a user