Skip to content

Commit

Permalink
Type flyout functional component
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonrobot committed Jan 18, 2024
1 parent bf6b803 commit ece6c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/victory-tooltip/src/flyout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const defaultProps = {
shapeRendering: "auto",
};

export const Flyout = (initialProps: FlyoutProps) => {
export const Flyout: React.FC<FlyoutProps> = (initialProps) => {
const props = evaluateProps({ ...defaultProps, ...initialProps });
const userProps = UserProps.getSafeUserProps(props);

Expand Down

0 comments on commit ece6c2d

Please sign in to comment.