import wn from '../../../../../node_modules/preact/compat/dist/compat.module.mjs';
import { EmbeddedTableCore } from '../shared/components/EmbeddedTable.mjs';
import { TableActions } from './TableActions.mjs';
import { Typography } from './Typography.mjs';

const TypographyCustom = (props)=>/*#__PURE__*/ wn.createElement(Typography, {
        ...props,
        variant: "caption",
        color: "secondary"
    });
const tableHeaderSx = (theme)=>({
        borderBottomColor: theme.styleConfig.colors.subtle
    });
const EmbeddedTable = (props)=>{
    return /*#__PURE__*/ wn.createElement(EmbeddedTableCore, {
        ...props,
        TableActionsComponent: TableActions,
        TypographyComponent: TypographyCustom,
        tableHeaderSx: tableHeaderSx
    });
};

export { EmbeddedTable };
//# sourceMappingURL=EmbeddedTable.mjs.map
