0.0.8 • Published 6 years ago

@appsrhino/button v0.0.8

Weekly downloads
17
License
MIT
Repository
-
Last release
6 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

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago