Skip to content

Commit

Permalink
fix: add ref type to BaseProps in the typescript interface (#1853)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeandroTorresSicilia authored Sep 24, 2020
1 parent 8bf2931 commit c5fc822
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { ReactNode, CSSProperties } from 'react';
import { ReactNode, CSSProperties, Ref } from 'react';

export interface BaseProps {
className?: string;
style?: CSSProperties;
ref?: Ref<any>;
}

export type AvatarSize = 'x-small' | 'small' | 'medium' | 'large';
Expand Down

0 comments on commit c5fc822

Please sign in to comment.