import { jsx as _jsx } from "react/jsx-runtime";
import { memo } from 'react';
import { useStepDataTable, useTableColumnNames } from '../hooks/index.js';
import { DeriveBase } from './Derive.base.js';
/**
 * Provides inputs for a Binarize step.
 */ export const Derive = /*#__PURE__*/ memo(function Derive({ step , graph , input , table , onChange  }) {
    const dataTable = useStepDataTable(step, graph, input, table);
    const columns = useTableColumnNames(dataTable);
    return /*#__PURE__*/ _jsx(DeriveBase, {
        columns: columns,
        step: step,
        onChange: onChange
    });
});
