Issue Summary
When rsc: false in components.json, the generated components still include the "use client" directive.
This behavior is unexpected because rsc: false should not inject "use client" automatically, as stated in: https://ui.shadcn.com/docs/components-json#rsc
Steps to Reproduce
- Configure
components.json with:
- Install any Coss UI component (tested with Accordion);
- Check the generated file.
Actual Results
The generated component includes:
Expected Results
When rsc: false is set, no "use client" should be added.