Skip to content

Commit c27b0a7

Browse files
committed
chore(react-utilities): export RefAttributes type
1 parent 2a8ecb3 commit c27b0a7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

packages/react-components/react-utilities/etc/react-utilities.api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,12 @@ export interface PriorityQueue<T> {
187187
// @public (undocumented)
188188
export type ReactTouchOrMouseEvent = React_2.MouseEvent | React_2.TouchEvent;
189189

190+
// @public (undocumented)
191+
export interface RefAttributes<T> extends React_2.Attributes {
192+
// (undocumented)
193+
ref?: React_2.Ref<T> | undefined;
194+
}
195+
190196
// @public
191197
export type RefObjectFunction<T> = React_2.RefObject<T> & ((value: T | null) => void);
192198

packages/react-components/react-utilities/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export {
7272
createPriorityQueue,
7373
} from './utils/index';
7474

75-
export type { DistributiveOmit, UnionToIntersection } from './utils/types';
75+
export type { DistributiveOmit, UnionToIntersection, RefAttributes } from './utils/types';
7676

7777
export type { PriorityQueue } from './utils/priorityQueue';
7878

0 commit comments

Comments
 (0)