feat(data-table): add size prop to action components

Add size prop configuration to action components in data table to allow consistent sizing. Update dropdown action component to accept size prop with default value.
This commit is contained in:
Khafid Prayoga
2025-09-02 16:25:32 +07:00
parent 664849e15b
commit add19f33a2
3 changed files with 14 additions and 4 deletions
@@ -55,7 +55,9 @@ v-for="(h, idx) in header[0]" :key="`head-${idx}`" class="border"
<component
:is="funcComponent[key]?.(row, rowIndex).component"
v-if="funcComponent[key]"
v-bind="funcComponent[key]?.(row, rowIndex)"
:rec="row"
:idx="rowIndex"
v-bind="funcComponent[key]?.(row, rowIndex).props"
/>
<!-- If funcParsed or funcHtml returns a value -->
<template v-else>