Skip to content

Commit b2c9961

Browse files
authored
fix: exporting types for SpectrumTextAreaProps, ItemProps, SectionProps (#6090)
1 parent 9d37e24 commit b2c9961

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/@adobe/react-spectrum/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export type {HeadingProps, KeyboardProps, TextProps} from '@react-spectrum/text'
106106
export type {SpectrumTableProps, SpectrumColumnProps, TableHeaderProps, TableBodyProps, RowProps, CellProps} from '@react-spectrum/table';
107107
export type {SpectrumTabListProps, SpectrumTabPanelsProps, SpectrumTabsProps} from '@react-spectrum/tabs';
108108
export type {SpectrumTagGroupProps} from '@react-spectrum/tag';
109-
export type {SpectrumTextFieldProps} from '@react-spectrum/textfield';
109+
export type {SpectrumTextFieldProps, SpectrumTextAreaProps} from '@react-spectrum/textfield';
110110
export type {SpectrumTooltipProps, SpectrumTooltipTriggerProps} from '@react-spectrum/tooltip';
111111
export type {ContentProps, FooterProps, HeaderProps, ViewProps} from '@react-spectrum/view';
112112
export type {SpectrumWellProps} from '@react-spectrum/well';
@@ -115,4 +115,4 @@ export type {VisuallyHiddenAria, VisuallyHiddenProps} from '@react-aria/visually
115115
export type {DateFormatter, DateFormatterOptions, Filter, FormatMessage, Locale, LocalizedStrings} from '@react-aria/i18n';
116116
export type {SSRProviderProps} from '@react-aria/ssr';
117117
export type {DirectoryDropItem, DragAndDropHooks, DragAndDropOptions, DraggableCollectionEndEvent, DraggableCollectionMoveEvent, DraggableCollectionStartEvent, DragPreviewRenderer, DragTypes, DropItem, DropOperation, DroppableCollectionDropEvent, DroppableCollectionEnterEvent, DroppableCollectionExitEvent, DroppableCollectionInsertDropEvent, DroppableCollectionMoveEvent, DroppableCollectionOnItemDropEvent, DroppableCollectionReorderEvent, DroppableCollectionRootDropEvent, DropPosition, DropTarget, FileDropItem, ItemDropTarget, RootDropTarget, TextDropItem} from '@react-spectrum/dnd';
118-
export type {Key, Selection} from '@react-types/shared';
118+
export type {Key, Selection, ItemProps, SectionProps} from '@react-types/shared';

packages/@react-spectrum/textfield/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
export {TextArea} from './TextArea';
1616
export {TextField} from './TextField';
1717
export {TextFieldBase} from './TextFieldBase';
18-
export type {SpectrumTextFieldProps} from '@react-types/textfield';
18+
export type {SpectrumTextFieldProps, SpectrumTextAreaProps} from '@react-types/textfield';

0 commit comments

Comments
 (0)