Skip to content

Commit 8301155

Browse files
committed
feat(components): setup date label
1 parent bebb46f commit 8301155

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
export const DateLabel = () => {
1+
type Props = { children: React.ReactNode };
2+
3+
export const DateLabel = ({ children }: Props) => {
24
return (
3-
<div>
4-
<p>date label</p>
5-
</div>
5+
<span className='p-8 font-mono text-sm text-grey-text'>{children}</span>
66
);
77
};

0 commit comments

Comments
 (0)