Update DataView doc

pull/5806/head
Cagatay Civici 2024-05-30 12:33:21 +03:00
parent 9ad9683738
commit e3f9f50298
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<template> <template>
<DocSectionText v-bind="$attrs"> <DocSectionText v-bind="$attrs">
<p>DataView requires a <i>value</i> to display along with a <i>list</i> slot that receives an object in the collection to return content.</p> <p>DataView requires a <i>value</i> to display along with a <i>list</i> slot for item content.</p>
</DocSectionText> </DocSectionText>
<div class="card"> <div class="card">
<DataView :value="products"> <DataView :value="products">

View File

@ -1,6 +1,6 @@
<template> <template>
<DocSectionText v-bind="$attrs"> <DocSectionText v-bind="$attrs">
<p>DataView supports <i>list</i> and <i>grid</i> display modes defined with the <i>layout</i> property.</p> <p>DataView supports <i>list</i> and <i>grid</i> display modes defined with the <i>layout</i> property. The <i>grid</i> mode is not built-in for flexibility purposes and requires a library with CSS grid features like Tailwind.</p>
</DocSectionText> </DocSectionText>
<div class="card"> <div class="card">
<DataView :value="products" :layout="layout"> <DataView :value="products" :layout="layout">