Skip to content

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

🐛 fix: remove code formatting error

Dillion Vermae5a8242ce7c1
diff --git a/content/components/shimmer-button.mdx b/content/components/shimmer-button.mdx
index a3f927cf..66daf744 100644
--- a/content/components/shimmer-button.mdx
+++ b/content/components/shimmer-button.mdx
@@ -88,8 +88,6 @@ components/magicui/shimmer-button.tsx
| Prop Name | Type | Description | Default Value |
| ------------- | --------------- | ----------------------------------- | ------------------------------------------------------------------------------- |
-| shadow | string | The shadow of the button | |
-| shadowEnabled | boolean | Whether the shadow is enabled | true |
| shimmerColor | string | The color of the shimmer | #ffffff |
| shimmerSize | string | The size of the shimmer | 0.1em |
| borderRadius | string | The border radius of the button | 100px |
diff --git a/lib/rehype-component.ts b/lib/rehype-component.ts
index 9159dbf0..22c0faf4 100644
--- a/lib/rehype-component.ts
+++ b/lib/rehype-component.ts
@@ -31,7 +31,7 @@ export function rehypeComponent() {
// TODO: Use @swc/core and a visitor to replace this.
// For now a simple regex should do.
source = source.replaceAll(`@/registry/`, "@/");
- source = source.replaceAll("export default", "export");
+ // source = source.replaceAll("export default", "export");
// Add code as children so that rehype can take over at build time.
node.children?.push(