Skip to content

Commit

Permalink
fix: omit correct values from UseModifyProps
Browse files Browse the repository at this point in the history
  • Loading branch information
simonseyock authored and dnlkoch committed Feb 20, 2024
1 parent 5664810 commit f6d998c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Button/ModifyButton/ModifyButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ interface OwnProps {
editLabel?: boolean;
}

export type ModifyButtonProps = OwnProps & Omit<UseModifyProps, ''> & Partial<ToggleButtonProps>;
export type ModifyButtonProps = OwnProps & Omit<UseModifyProps, 'active' | 'onFeatureSelect'> &
Partial<ToggleButtonProps>;

/**
* The className added to this component.
Expand Down

0 comments on commit f6d998c

Please sign in to comment.