0.0.2 • Published 2 years ago

lost-mechanics-button v0.0.2

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

Lostmechanics - ButtonConfigurator

Development

  • setup: yarn install
  • dev start: yarn dev
  • build: yarn build

Domains

Package npm

Update

  • Update package.json version
  • build: yarn build
  • login: npm login
  • publish: npm publish

MechaButton Component

Install

npm i lost-mechanics-button

Usage

import { MechaButton } from "lost-mechanics-button";

//...
components: {
  MechaButton;
}

Structure

<MechaButton>
  <div class="icon icon-left">...</div>
  <div class="labels">
    <span class="label">Button</span>
    <span class="label-hover">Hover</span>
  </div>
  <div class="icon icon-right">...</div>
</MechaButton>

Props

  • type String
  • paramsButton Object
  • visible Boolean
  • disabled Boolean

Emits

  • click