0.0.8 • Published 5 years ago

@appsrhino/button v0.0.8

Weekly downloads
17
License
MIT
Repository
-
Last release
5 years ago

Appsrhino Button Component

How to install?

npm install @appsrhino/button --save

How to use?

1 -> Import Module

import { ButtonModule } from '@appsrhino/button';

@NgModule({
  ...,
  imports: [
    ...
    ButtonModule
  ]
})

2 -> Use Button

<appsrhino-button></appsrhino-button>

Available options

[text] -> text to display (string)
[icon] -> url for icon
[primaryMain] -> theme main color
[primaryDark] -> theme dark color
[primaryLight] -> theme light color
[disabled] => boolean
[props] => any extra args
[styles] => custom styles (css format)
[variant] => button variant ('contained' | 'outlined')
(buttonClick) => ({}) => return the html event and props ({event,props})
0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago