1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-06-27 16:45:42 -04:00
Files
jarv.is/components/relative-time.tsx

14 lines
256 B
TypeScript

"use client";
import TimeAgo from "react-timeago";
const RelativeTime = ({ ...rest }: React.ComponentProps<typeof TimeAgo>) => {
return (
<span suppressHydrationWarning>
<TimeAgo {...rest} />
</span>
);
};
export default RelativeTime;