Skip to content

Commit

Permalink
chore: export internal test func
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Feb 13, 2023
1 parent 907d8f0 commit 3f67482
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ import { Collection } from './Collection';

const INTERNAL_PREFIX_KEY = 'rc-observer-key';

import { _rs } from './utils/observerUtil';
export {
/** @private Test only for mock trigger resize event */
_rs,
};

export interface SizeInfo {
width: number;
height: number;
Expand Down

1 comment on commit 3f67482

@vercel
Copy link

@vercel vercel bot commented on 3f67482 Feb 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

resize-observer – ./

resize-observer-git-master-react-component.vercel.app
resize-observer-react-component.vercel.app

Please sign in to comment.