nextui icon indicating copy to clipboard operation
nextui copied to clipboard

fix: onSelectionChange type incorrect

Open winchesHe opened this issue 7 months ago • 5 comments

Closes #2512

📝 Description

  1. Complete the Selection type add addtional key like as shown in the picture below
image

image

Add a brief description

⛳️ Current behavior (updates)

Please describe the current behavior that you are modifying

🚀 New behavior

Please describe the behavior or changes this PR adds

💣 Is this a breaking change (Yes/No):

📝 Additional Information

Summary by CodeRabbit

  • New Features

    • Enhanced selection types for Dropdown and Select components to support Iterable collections.
    • Updated onSelectionChange handlers to include additional properties for better state management.
  • Documentation

    • Updated documentation for Dropdown and Select components to reflect changes in selection types and onSelectionChange signatures.

winchesHe avatar Jun 26 '24 15:06 winchesHe