diff --git a/docs/src/components/faq.ts b/docs/src/components/faq.ts new file mode 100644 index 0000000..c0959bd --- /dev/null +++ b/docs/src/components/faq.ts @@ -0,0 +1,47 @@ +import { UbAccordionContentDirective, UbAccordionDirective, UbAccordionItemDirective, UbAccordionTriggerDirective } from '@/registry/new-york/ui/accordion' + +import { Component } from '@angular/core' + +@Component({ + standalone: true, + imports: [ + UbAccordionDirective, + UbAccordionItemDirective, + UbAccordionTriggerDirective, + UbAccordionContentDirective, + ], + selector: 'shadcn-ng-faq', + template: ` +
The idea behind this is to give you ownership and control over the code, allowing you to decide how the components are built and styled.
+ +Start with some sensible defaults, then customize the components to your needs.
+ +One of the drawbacks of packaging the components in an npm package is that the style is coupled with the implementation. The design of your components should be separate from their implementation.
+Yes. Free to use for personal and commercial projects. No attribution required.
+But hey, let me know if you do. I'd love to see what you build.
+