JacobFitzp/nova-canvas

View on GitHub
resources/js/components/DetailField.vue

Summary

Maintainability
Test Coverage
<template>
    <PanelItem :index="index" :field="field">
        <template #value>
            <excerpt :content="field.value" :should-show="field.shouldShow" />
        </template>
    </PanelItem>
</template>

<script>
export default {
    props: ['index', 'resource', 'resourceName', 'resourceId', 'field'],
}
</script>