0.1.3 • Published 4 years ago

mybuttpruebas v0.1.3

Weekly downloads
-
License
-
Repository
-
Last release
4 years ago

AXA-Button

Buttons and links with AXA guideline styles.

Instalation Steps

Go to the root project and install this package:

npm i axabutton

And run the server:

npm start

How to use it?

You must import the component in the file that you want use it:

import AXAButton from 'axabutton'

And them put the component in your code:

<AXAButton className='btn-danger'>MyText</AXAButton>

Properties

You can use these properties how you wish:

id: string, notRequired (any string)

className: string, Required 'primary', 'danger', 'ghost', 'ghost-white'

type: string, notRequired 'button'

onClick: func, notRequired (to add a custom function)

href: string, notRequired (to add a link)

children: array, Required (to show a text in your button)