TomatitoToho commited on
Commit
c6d3ee0
·
verified ·
1 Parent(s): 9ff0d35

Upload src/components/ui/aspect-ratio.tsx with huggingface_hub

Browse files
Files changed (1) hide show
  1. src/components/ui/aspect-ratio.tsx +11 -0
src/components/ui/aspect-ratio.tsx ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use client"
2
+
3
+ import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio"
4
+
5
+ function AspectRatio({
6
+ ...props
7
+ }: React.ComponentProps<typeof AspectRatioPrimitive.Root>) {
8
+ return <AspectRatioPrimitive.Root data-slot="aspect-ratio" {...props} />
9
+ }
10
+
11
+ export { AspectRatio }