primevue-mirror/doc/installation/PropCasesDoc.vue
Cagatay Civici 18c8c5a726 Fixed case
2023-03-13 14:37:53 +03:00

23 lines
612 B
Vue

<template>
<DocSectionText v-bind="$attrs">
<p>Component prop names are described as camel case throughout the documentation however kebap-case is also fully supported. Events on the other hand should always be kebap-case.</p>
<DocSectionCode :code="code" hideToggleCode hideCodeSandbox hideStackBlitz />
</DocSectionText>
</template>
<script>
export default {
data() {
return {
code: {
basic: `<Dialog :showHeader="false"></Dialog>
<!-- can be written as -->
<Dialog :show-header="false"></Dialog>`
}
};
}
};
</script>