MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / AspectRatio

Function AspectRatio

src/components/ui/aspect-ratio.tsx:5–9  ·  view source on GitHub ↗
({
  ...props
}: React.ComponentProps<typeof AspectRatioPrimitive.Root>)

Source from the content-addressed store, hash-verified

3import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio"
4
5function AspectRatio({
6 ...props
7}: React.ComponentProps<typeof AspectRatioPrimitive.Root>) {
8 return <AspectRatioPrimitive.Root data-slot="aspect-ratio" {...props} />
9}
10
11export { AspectRatio }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected