Skip to content

Commit 13a9863

Browse files
committed
feat: add VDataTable prop replacements
1 parent 8004561 commit 13a9863

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/rules/no-deprecated-props.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,13 @@ const replacements = {
268268
hideModeSwitch: false,
269269
value: 'model-value',
270270
},
271+
VDataTable: {
272+
serverItemsLength: { custom: '<v-data-table-server>' },
273+
itemClass: { custom: 'row-props' },
274+
itemStyle: { custom: 'row-props' },
275+
sortDesc: { custom: 'sort-by' },
276+
groupDesc: { custom: 'group-by' },
277+
},
271278
VDatePicker: {
272279
activePicker: 'view-mode',
273280
pickerDate: { custom: 'separate month and year props' },

0 commit comments

Comments
 (0)