Skip to content

Instantly share code, notes, and snippets.

@codemonkey76
Created June 30, 2020 05:23
Show Gist options
  • Save codemonkey76/49d3d5c3f52659641311fa1795e579a7 to your computer and use it in GitHub Desktop.
Save codemonkey76/49d3d5c3f52659641311fa1795e579a7 to your computer and use it in GitHub Desktop.
<template>
<div>
<div class="p-2 rounded border shadow mb-2">
<CheckBoxGroup :options="invoices"/>
</div>
<TextInput type="text" name="amount" label="Amount" id="amount" placeholder="Enter amount" value="" :error="error" />
</div>
</template>
<script>
import TextInput from "./TextInput";
import CheckBoxGroup from "./CheckBoxGroup";
export default {
components: {TextInput, CheckBoxGroup},
name: "PaymentControl",
props: ['invoices', 'error'],
}
</script>
<style scoped>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment