1.2.0 • Published 4 years ago

@tomorepo/squarebutton v1.2.0

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

tomorepo/squarebutton

Install dependency in your project

npm install @tomorepo/squarebutton --save

Import component where you want to use it

import '@tomorepo/squarebutton';

Use the component in your template

  <square-button
    text="Square Button"
    :execute="clicked"
    type="button" />

Available Props

  • text - text - Default: 'Submit' The text inside the button
  • execute - function The function to execute when clicked
  • type - text - Default: 'button' The HTML type for the button element
  • isPrimary - boolean - Default: false Whether to style as a primary button or not
1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago