Skip to content

Commit

Permalink
Fix onResize TSC prop conflict (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
bvaughn committed Apr 2, 2023
1 parent 890c26b commit 53dbe76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AutoSizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export type Props = {
nonce?: string;
onResize?: (size: Size) => void;
tagName?: string;
} & Omit<HTMLAttributes<HTMLDivElement>, "children">;
} & Omit<HTMLAttributes<HTMLDivElement>, "children" | "onResize">;

type State = {
height: number;
Expand Down

0 comments on commit 53dbe76

Please sign in to comment.