diff options
| author | schererleander <leander@schererleander.de> | 2025-07-14 18:12:17 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-07-14 18:12:17 +0200 |
| commit | 29d4d624b2056242ef5b119c105db28f950f27c3 (patch) | |
| tree | 53d1650dd40f8011f9361c595af3c8c6f073c14d /src/components/ui/aspect-ratio.tsx | |
| parent | 8b6c21b5f93ea6884708b3f9d542666bbd12d122 (diff) | |
feat: new shadcn/ui components
Diffstat (limited to 'src/components/ui/aspect-ratio.tsx')
| -rw-r--r-- | src/components/ui/aspect-ratio.tsx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/ui/aspect-ratio.tsx b/src/components/ui/aspect-ratio.tsx new file mode 100644 index 0000000..3df3fd0 --- /dev/null +++ b/src/components/ui/aspect-ratio.tsx @@ -0,0 +1,11 @@ +"use client" + +import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio" + +function AspectRatio({ + ...props +}: React.ComponentProps<typeof AspectRatioPrimitive.Root>) { + return <AspectRatioPrimitive.Root data-slot="aspect-ratio" {...props} /> +} + +export { AspectRatio } |
