Skip to content

Commit

Permalink
override refProp
Browse files Browse the repository at this point in the history
  • Loading branch information
ins0 committed Jan 7, 2025
1 parent 96756ab commit 0333304
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export function flowComponent<C extends FlowComponentName>(
>;

const propsWithRef = {
refProp: ref,
...implementationTypeProps,
refProp: ref,
};

let element: ReactNode = <ImplementationComponentType {...propsWithRef} />;
Expand Down

0 comments on commit 0333304

Please sign in to comment.