1.0.1 • Published 3 years ago

@mcgong/my-component v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Installation

npm install @mcgong/my-component

Using with Vue

import Vue from 'vue'
import MyComponent from '@mcgong/my-component'

Vue.use(MyComponent)

Properties

All the properties below are optional.

  • color background-color of component. Defaults to blue.
  • rounded whether rounded or not. Defaults to true.
  • size size of component. Defaults to default.

Events & Methods

  • click an event emitted when the component is clicked.
  • dbclick an event emitted when the component is dbclicked.
1.0.1

3 years ago

1.0.0

3 years ago