import { jsx as _jsx } from "react/jsx-runtime";
import { memo, useMemo } from 'react';
import { VerbDescription } from '../verbForm/VerbDescription.js';
export const SpreadDescription = /*#__PURE__*/ memo(function SpreadDescription(props) {
    const rows = useMemo(()=>{
        const { step: { args  } ,  } = props;
        return [
            {
                before: 'column',
                value: args.column
            },
            {
                before: `as column${(args.to || []).length !== 1 ? 's' : ''}`,
                value: args.to ? args.to.join(', ') : null
            }, 
        ];
    }, [
        props
    ]);
    return /*#__PURE__*/ _jsx(VerbDescription, {
        ...props,
        rows: rows
    });
});
