import React, { forwardRef, useState, } from 'react';
import { TableSectionRow } from './TableSectionRow';
import { useTableBaseRow } from '../Table/useTableBaseRow';
export const useTableSectionRow = (state) => {
    const RegularTrElement = useTableBaseRow(state.table);
    const [CustomSectionsTR] = useState(forwardRef((props, ref) => (React.createElement(TableSectionRow, { ...props, ref: ref, state: state, RegularTrElement: RegularTrElement }))));
    return CustomSectionsTR;
};
//# sourceMappingURL=useTableSectionRow.js.map