Skip to content

Commit 2f378e7

Browse files
committed
Pass Avatar statics
1 parent fcd0444 commit 2f378e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

generatedTypes/components/avatar/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,5 +162,5 @@ declare function createStyles(props: AvatarPropTypes): {
162162
};
163163
};
164164
export { Avatar };
165-
declare const _default: React.ComponentClass<AvatarPropTypes, any>;
165+
declare const _default: React.ComponentClass<AvatarPropTypes, any> & typeof Avatar;
166166
export default _default;

src/components/avatar/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,4 +375,4 @@ function createStyles(props: AvatarPropTypes) {
375375

376376
export {Avatar}; // For tests
377377

378-
export default asBaseComponent<AvatarPropTypes>(forwardRef(Avatar))
378+
export default asBaseComponent<AvatarPropTypes, typeof Avatar>(forwardRef(Avatar))

0 commit comments

Comments
 (0)