/
githubmirror
/
vuetify
Обзор
Документация
Войти
/
githubmirror
/
vuetify
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
packages/docs/src/components/api/PropsTable.vue
21 строка
493 B
John Leider
chore: add vue/attributes-order eslint rule
29 фев 2024, 07:06
29 фев 2024, 07:06
65aff8f
Код
Авторство
О чём код?
<template> <ApiApiTable :headers="headers"> <template #row="{ props, item }"> <tr v-bind="props"> <ApiNameCell :name="kebabCase(item.name)" :new-in="item.newIn" section="props" /> <td> <ApiPrismCell :code="item.formatted" /> </td> <td> <ApiPrismCell :code="item.default" /> </td> </tr> </template> </ApiApiTable> </template> <script setup lang="ts"> const headers = ['name', 'type', 'default'] </script>