<Center/>

center.tsx

tsx
1import { cn } from "@/utils/cn"; 2 3type CenterProps = React.HTMLAttributes<HTMLDivElement>; 4 5export function Center({ className, ...props }: Readonly<CenterProps>) { 6 return ( 7 <div 8 className={cn("flex items-center justify-center", className)} 9 {...props} 10 /> 11 ); 12}

Loved this post?

Comments

Interested in
working
with me?

Let's Connect

Stay in touch 👇

© 2021 - 2025 itsrakesh. v2.