0.4.2 • Published 2 years ago

@dpa-id-components/ui-checkbox v0.4.2

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

@dpa-id-components/ui-checkbox

UiCheckBox Vue 2.x input component based on the dpa Design Kit

Installation

yarn add @dpa-id-components/ui-checkbox

Usage

<template>
  <ui-checkbox />
</template>

<script>
  import UiCheckBox from "@dpa-id-components/ui-component";

  export default {
    components: {
      UiCheckBox,
    }
  };
</script>

Demo

View a demo of <ui-checkbox> on Storybook

API

Props

NameTypeDefaultDescription
checkedBooleanfalseWether the checkbox is checked
disabledBooleantrueWether the checkbox is disabled
isValidBooleantrueWether the checkbox field is valid
errorMessageString""Error message text to be displayed

Events

NameTypeDescription
clickClickEventtriggerd when the checkbox is clicked
0.4.2

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.4.1

2 years ago

0.2.3

2 years ago

0.4.0

2 years ago

0.1.0

3 years ago