Skip to content

Commit f2a1187

Browse files
authored
export AriaButtonOptions from react-aria and @react-aria/button (#4784)
1 parent b57b3af commit f2a1187

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/@react-aria/button/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
*/
1212
export {useButton} from './useButton';
1313
export {useToggleButton} from './useToggleButton';
14-
export type {ButtonAria} from './useButton';
14+
export type {AriaButtonOptions, ButtonAria} from './useButton';
1515
export type {AriaButtonProps, AriaToggleButtonProps} from '@react-types/button';

packages/react-aria/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export {chain, mergeProps, useId} from '@react-aria/utils';
4747
export {VisuallyHidden, useVisuallyHidden} from '@react-aria/visually-hidden';
4848

4949
export type {AriaBreadcrumbItemProps, AriaBreadcrumbsProps, BreadcrumbItemAria, BreadcrumbsAria} from '@react-aria/breadcrumbs';
50-
export type {AriaButtonProps, AriaToggleButtonProps, ButtonAria} from '@react-aria/button';
50+
export type {AriaButtonOptions, AriaButtonProps, AriaToggleButtonProps, ButtonAria} from '@react-aria/button';
5151
export type {AriaCalendarCellProps, AriaCalendarGridProps, AriaCalendarProps, AriaRangeCalendarProps, CalendarAria, CalendarCellAria, CalendarGridAria, CalendarProps, RangeCalendarProps} from '@react-aria/calendar';
5252
export type {AriaCheckboxGroupItemProps, AriaCheckboxGroupProps, AriaCheckboxProps, CheckboxAria, CheckboxGroupAria} from '@react-aria/checkbox';
5353
export type {AriaComboBoxOptions, AriaComboBoxProps, ComboBoxAria} from '@react-aria/combobox';

0 commit comments

Comments
 (0)