react-toolkits 2.32.5 → 2.32.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # react-toolkits
2
2
 
3
+ ## 2.32.7
4
+
5
+ ### Patch Changes
6
+
7
+ - d51e875: refactor: optimize GameSelect component logic and improve type handling
8
+
9
+ ## 2.32.6
10
+
11
+ ### Patch Changes
12
+
13
+ - 86f0a3b: fix: conditionally render RequireGame component in Layout
14
+
3
15
  ## 2.32.5
4
16
 
5
17
  ### Patch Changes
package/lib/index.d.ts CHANGED
@@ -309,7 +309,7 @@ type NavItem = Exclude<ItemType, SubMenuType | MenuItemGroupType | MenuItemType>
309
309
  interface GameSelectProps<T extends Game = Game> {
310
310
  filter?: (game: T) => boolean;
311
311
  options?: (data?: T[]) => SelectProps['options'];
312
- onChange?: (value: string | number) => void;
312
+ onChange?: (value: string) => void;
313
313
  }
314
314
 
315
315
  /** Header 扩展项配置 */