We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const mergedOptionColumns = isEmpty ? [{ options: emptyList }] : optionColumns; const columnNodes: React.ReactElement[] = mergedOptionColumns.map( (col, index) => { const prevValuePath = activeValueCells.slice(0, index); const activeValue = activeValueCells[index]; // return item const custormRenderColumnItem = this.props?.custormRenderColumnItem; const isCustormRenderItem = custormRenderColumnItem && typeof custormRenderColumnItem === "function"; if (isCustormRenderItem) { const CustormRenderColumnItem = custormRenderColumnItem(); return ( <CustormRenderColumnItem key={index} {...columnProps} prefixCls={mergedPrefixCls} options={col.options} prevValuePath={prevValuePath} activeValue={activeValue} /> ); } return ( <Column key={index} {...columnProps} prefixCls={mergedPrefixCls} options={col.options} prevValuePath={prevValuePath} activeValue={activeValue} /> ); } ); // >>>>> Render return ( <div className={classNames(`${mergedPrefixCls}-menus`, { [`${mergedPrefixCls}-menu-empty`]: isEmpty, [`${mergedPrefixCls}-rtl`]: rtl, })} ref={containerRef} > {columnNodes} </div> );
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: