mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 08:18:42 +00:00
18 lines
245 B
Vue
18 lines
245 B
Vue
<template>
|
|
<div :class="readOnly ? 'read-only-form' : ''">
|
|
<slot></slot>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'ReadOnlyForm',
|
|
props: {
|
|
readOnly: {
|
|
required: true,
|
|
type: Boolean,
|
|
},
|
|
},
|
|
}
|
|
</script>
|