diff --git a/packages/react/cunningham.ts b/packages/react/cunningham.ts index 96bae41..8a27454 100644 --- a/packages/react/cunningham.ts +++ b/packages/react/cunningham.ts @@ -24,6 +24,7 @@ files.forEach((file) => { throw new Error("Tokens file does not export tokens " + file); } + componentName = componentName.replace("/", "-"); components[componentName] = res.tokens(defaultTokens); });