import { jsx as _jsx } from "react/jsx-runtime";
import { memo, useMemo } from 'react';
import { FormInputType, VerbForm } from '../verbForm/VerbForm.js';
/**
 * Provides inputs for a Fill step.
 */ export const FillBase = /*#__PURE__*/ memo(function Fill({ step , onChange  }) {
    const inputs = useMemo(()=>[
            {
                label: 'Fill value',
                type: FormInputType.Text,
                current: step.args.value,
                onChange: (s, val)=>s.args.value = val
            }, 
        ], [
        step
    ]);
    return /*#__PURE__*/ _jsx(VerbForm, {
        inputs: inputs,
        step: step,
        onChange: onChange
    });
});
