1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-01-08 17:25:56 +01:00
Pinafore-Web-Client-Frontend/routes/_components/compose/ComposeButton.html
2018-03-03 16:12:48 -08:00

22 lines
425 B
HTML

<button class="primary compose-box-button"
:disabled >
Toot!
</button>
<style>
.compose-box-button {
grid-area: button;
justify-self: right;
text-transform: uppercase;
margin-top: 10px;
}
</style>
<script>
import { store } from '../../_store/store'
export default {
store: () => store,
computed: {
disabled: (overLimit, length) => overLimit || length === 0
}
}
</script>