0.1.0 • Published 5 years ago

@poetadigital/buttons v0.1.0

Weekly downloads
10
License
MIT
Repository
-
Last release
5 years ago

Buttons

Buttons component

Install

$ npm install @poetadigital/buttons --save

Getting Starting

How to use component

Parameters

PropsRequiredDefaultTypeDescription
idfalsenullStringEquivalent to the id attribute on an <button>.
customClassfalsenullStringAttach your custom class on the compontent.
namefalsenullStringEquivalent to the name attribute on an <button>.
disabledfalsenullBooleanEquivalent to the disabled attribute on an <button>.
outlinefalsefalseBooleanThe outline button is transparent with border button.
variantfalsedefaultStringThe value can be default, primary, secondary, third, fourth.
@clickfalsenullObjectSet the click event on <button>.

Usage

<template>
  <div class="App">
    <PButton variant="primary">Submit</PButton>
    <PButton variant="primary" outline>Submit</PButton>
  </div>
</template>

<script>
import PButton from '@poetadigital/buttons';

export default {
  components: { PButton }
};
</script>

<style scoped></style>

License

MIT © Poeta Digital

0.1.0

5 years ago

0.0.10

5 years ago

0.0.11

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago