Sharkey/src/client/app/common/views/components/ui/form.vue

29 lines
364 B
Vue
Raw Normal View History

2018-06-14 08:52:37 +03:00
<template>
<div class="ui-form">
<fieldset :disabled="disabled">
<slot></slot>
</fieldset>
</div>
</template>
<script lang="ts">
import Vue from 'vue';
export default Vue.extend({
props: {
disabled: {
type: String,
required: false
}
}
});
</script>
<style lang="stylus" scoped>
@import '~const.styl'
.ui-form
> fieldset
border none
</style>