From e70f360b6476b14b54d4caa9d35d7efe18869424 Mon Sep 17 00:00:00 2001 From: Devon Govett Date: Wed, 6 Nov 2024 09:10:54 -0800 Subject: [PATCH] Omit selection props from AriaToggleButtonGroupItemProps --- packages/@react-types/button/src/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@react-types/button/src/index.d.ts b/packages/@react-types/button/src/index.d.ts index b36c44b3dde..f3f68ca2221 100644 --- a/packages/@react-types/button/src/index.d.ts +++ b/packages/@react-types/button/src/index.d.ts @@ -71,7 +71,7 @@ interface AriaBaseButtonProps extends FocusableDOMProps, AriaLabelingProps { export interface AriaButtonProps extends ButtonProps, LinkButtonProps, AriaBaseButtonProps {} export interface AriaToggleButtonProps extends ToggleButtonProps, AriaBaseButtonProps, AriaButtonElementTypeProps {} -export interface AriaToggleButtonGroupItemProps extends Omit, 'id'> { +export interface AriaToggleButtonGroupItemProps extends Omit, 'id' | 'isSelected' | 'defaultSelected' | 'onChange'> { /** An identifier for the item in the `selectedKeys` of a ToggleButtonGroup. */ id: Key }