Skip to content

Commit

Permalink
fix: Menu component and options.label prop type (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoevanp authored Jun 21, 2021
1 parent 81ec00f commit dea7a16
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/fuselage/src/components/Menu/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ type MenuProps = Omit<ComponentProps<typeof ActionButton>, 'icon'> & {
icon?: string;
options: {
[id: string]: {
label: {
title: string;
icon: string;
};
label: ReactElement | string;
action: () => void;
};
};
Expand Down

0 comments on commit dea7a16

Please sign in to comment.