Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

Adding motion dependence in the globe component. (#644)

Rajdeep Singh7453f33dc4f6
diff --git a/public/r/globe.json b/public/r/globe.json
index 2a7f4cfb..552052d9 100644
--- a/public/r/globe.json
+++ b/public/r/globe.json
@@ -5,7 +5,8 @@
"title": "Globe",
"description": "An autorotating, interactive, and highly performant globe made using WebGL.",
"dependencies": [
- "cobe"
+ "cobe",
+ "motion"
],
"files": [
{
diff --git a/public/registry.json b/public/registry.json
index b71db199..cc736375 100644
--- a/public/registry.json
+++ b/public/registry.json
@@ -390,7 +390,8 @@
"title": "Globe",
"description": "An autorotating, interactive, and highly performant globe made using WebGL.",
"dependencies": [
- "cobe"
+ "cobe",
+ "motion"
],
"files": [
{
diff --git a/registry.json b/registry.json
index b71db199..cc736375 100644
--- a/registry.json
+++ b/registry.json
@@ -390,7 +390,8 @@
"title": "Globe",
"description": "An autorotating, interactive, and highly performant globe made using WebGL.",
"dependencies": [
- "cobe"
+ "cobe",
+ "motion"
],
"files": [
{
diff --git a/registry/registry-ui.ts b/registry/registry-ui.ts
index db8cea31..beded7f2 100644
--- a/registry/registry-ui.ts
+++ b/registry/registry-ui.ts
@@ -356,7 +356,7 @@ export const ui: Registry["items"] = [
title: "Globe",
description:
"An autorotating, interactive, and highly performant globe made using WebGL.",
- dependencies: ["cobe"],
+ dependencies: ["cobe", "motion"],
files: [
{
path: "registry/magicui/globe.tsx",