0.8.8 • Published 3 years ago

@gladio/button v0.8.8

Weekly downloads
26
License
MIT
Repository
github
Last release
3 years ago

Button Component

Use to render a button component

Installation

yarn add @gladio/button

Usage

// import the component
import Button from "@gladio/button"

// use it as you would use a simple button
const MyComponent = () => {
  return (
    <div>
      <Button
        onClick={() => {
          console.log("Button was Clicked")
        }}
      >
        Click Me
      </Button>
    </div>
  )
}