/*!
 * Copyright (c) Microsoft. All rights reserved.
 * Licensed under the MIT license. See LICENSE file in the project.
 */ 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 !== undefined ? args.column : undefined
            },
            {
                before: 'split delimiter',
                value: args.delimiter
            },
            {
                before: 'onehot values',
                value: args.onehot ? `yes` : 'no'
            }, 
        ];
    }, [
        props
    ]);
    return /*#__PURE__*/ _jsx(VerbDescription, {
        ...props,
        rows: rows
    });
});
