Skip to content

Commit

Permalink
usage readme
Browse files Browse the repository at this point in the history
  • Loading branch information
noudadrichem committed Jul 23, 2020
1 parent 24a7d46 commit cd6bae0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions projects/angular-flagpack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,12 @@ npm install angular-flagpack -S

## Declare module
```js
import { FlagComponent } from 'angular-flagpack'
import { AngularFlagpackModule } from 'angular-flagpack';

@NgModule({
...
declarations: [
FlagComponent
],
imports: [
BrowserModule, // is required
AngularFlagpackModule // add it here.
],
...
})
Expand All @@ -36,6 +33,11 @@ Use in your template:
</lib-angular-flagpack>
```

Or use with defaults
```html
<lib-angular-flagpack code="528"></lib-angular-flagpack>
```

## Available component options

| key | value | required | default | format |
Expand All @@ -46,6 +48,5 @@ Use in your template:
| hasDropshadow | boolean | false | false | - |
| hasBorder | boolean | false | true | - |
| hasBorderRadius | boolean | false | true | - |
| customBorderRadius | String | false | - | - |
| gradient | String | false | '' | 'top-down', 'real-linear' or 'real-circular' |

0 comments on commit cd6bae0

Please sign in to comment.