/*!
 * Copyright (c) Microsoft. All rights reserved.
 * Licensed under the MIT license. See LICENSE file in the project.
 */ import { sliceTable } from '@datashaper/tables';
import { useMemo } from 'react';
export function useSlicedTable(table, offset, limit) {
    return useMemo(()=>sliceTable(table, offset, limit), [
        table,
        offset,
        limit
    ]);
}
