Skip to content

Commit bebb46f

Browse files
committed
feat(components): setup detail block title
1 parent 20cfda1 commit bebb46f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
export const DetailBlockTitle = () => {
2-
return (
3-
<div>
4-
<p>detail block title</p>
5-
</div>
6-
);
1+
type Props = { children: React.ReactNode };
2+
3+
export const DetailBlockTitle = ({ children }: Props) => {
4+
return <h4 className='font-serif text-3xl'>{children}</h4>;
75
};

0 commit comments

Comments
 (0)