mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-06-27 17:05:42 -04:00
10 lines
288 B
TypeScript
10 lines
288 B
TypeScript
"use client";
|
|
|
|
import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
|
|
|
|
const AspectRatio = ({ ...rest }: React.ComponentProps<typeof AspectRatioPrimitive.Root>) => {
|
|
return <AspectRatioPrimitive.Root data-slot="aspect-ratio" {...rest} />;
|
|
};
|
|
|
|
export default AspectRatio;
|