Skip to content

Commit 73044f5

Browse files
committed
[docs] Remove shadcn theme warning
1 parent 387e8d6 commit 73044f5

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

apps/docs/src/content/docs/themes/shadcn.mdx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,9 @@ import { components } from '@sjsf/shadcn-theme/default';
6464
setThemeContext({ components })
6565
```
6666

67-
:::caution
68-
69-
You should define `components: ThemeComponents` yourself:
70-
71-
- to reduce final bundle size
72-
- to avoid https://github.com/x0k/svelte-jsonschema-form/issues/48
67+
:::note
7368

74-
In this case you also should remove `bind:this={ref}` bindings from your components.
69+
You can define `components: ThemeComponents` yourself to reduce final bundle size
7570

7671
:::
7772

0 commit comments

Comments
 (0)