1.1.1 • Published 5 years ago

@eucalyptusvc/delay-treatment-trigger v1.1.1

Weekly downloads
15
License
UNLICENSED
Repository
github
Last release
5 years ago

Delay treatment trigger

Description

@eucalyptusvc/delay-treatment-trigger

Button that displays a modal when clicked. The modal has options to delay the treatment by 2 weeks or 1 month.

Usage

<template>
    <delay-treatment-trigger
        class="delay"
        :current-scheduled-date="treatment.nextPayment"
        :on-confirm="onConfirmDelay"
    />
</template>

<script lang="ts">
    import DelayTreatmentTrigger from '@eucalyptusvc/delay-treatment-trigger';
</script>

Development

Storybook

cd .. && yarn storybook

View storybook under 'DelayTreatmentTrigger' at http://localhost:6006/

Building

yarn && yarn build

If you want to edit the component while consuming it run:

yarn link in this package, and yarn link @eucalyptusvc/delay-treatment-trigger in the directory consuming it.

Every time you change this package, make sure you run yarn build or set up a watcher, so that the dist files are updated.