Skip to content

Commit 5614f64

Browse files
committed
Add "use client" directive
1 parent 8003220 commit 5614f64

File tree

1 file changed

+4
-0
lines changed
  • packages/bento-design-system/src

1 file changed

+4
-0
lines changed

packages/bento-design-system/src/index.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Mark all components as "client components" so that they can be used in Server Components
2+
// In the future we may decide to be more granular with this, but this at least ensures
3+
// good compatibility out of the box.
4+
"use client";
15
import "./reset.css";
26
import "./global.css";
37
import * as icons from "./Icons";

0 commit comments

Comments
 (0)