{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "direction",
  "files": [
    {
      "path": "registry/radix-vega/ui/direction.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { Direction } from \"radix-ui\"\n\nfunction DirectionProvider({\n  dir,\n  direction,\n  children,\n}: React.ComponentProps<typeof Direction.DirectionProvider> & {\n  direction?: React.ComponentProps<typeof Direction.DirectionProvider>[\"dir\"]\n}) {\n  return (\n    <Direction.DirectionProvider dir={direction ?? dir}>\n      {children}\n    </Direction.DirectionProvider>\n  )\n}\n\nconst useDirection = Direction.useDirection\n\nexport { DirectionProvider, useDirection }\n",
      "type": "registry:ui"
    }
  ],
  "meta": {
    "links": {
      "docs": "https://ui.shadcn.com/docs/components/radix/direction",
      "api": "https://www.radix-ui.com/primitives/docs/utilities/direction-provider.md"
    }
  },
  "type": "registry:ui"
}