@ng-solid/design-system 22.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,40 @@
1
+ # Angular UI Components
2
+
3
+ [![NPM version][npm-image]][npm-url]
4
+
5
+ [npm-image]: https://img.shields.io/npm/v/@ng-solid/facebook.svg?style=flat-square
6
+ [npm-url]: https://www.npmjs.com/@ng-solid/facebook
7
+
8
+ An Angular UI component library based on Ant Design.
9
+
10
+ ## Installation
11
+
12
+ ```bash
13
+ $ ng new PROJECT_NAME
14
+ $ cd PROJECT_NAME
15
+ $ ng add @ng-solid/design-system
16
+ ```
17
+
18
+ You can also install `@ng-solid/design-system` with npm or yarn
19
+
20
+ ## Usage
21
+
22
+ Import the component module you want to use in your `app.module.ts` file
23
+ or [feature modules](https://angular.io/guide/feature-modules) as you need.
24
+
25
+ ### Buttons
26
+
27
+ ```ts
28
+ import { NsButtonModule } from '@ng-solid/design-system';
29
+
30
+ @NgModule({
31
+ imports: [...NsButtonModule]
32
+ })
33
+ export class AppModule {}
34
+ ```
35
+
36
+ and in your html template
37
+
38
+ ```angular2html
39
+ <ns-button label="My Button" [theme]="true"></ns-button>
40
+ ```