From 4f2caf404b5b7a08ff7e189a31666ddf825dc436 Mon Sep 17 00:00:00 2001 From: Tiago Evangelista Pinto Date: Thu, 17 Jun 2021 20:34:48 -0300 Subject: [PATCH] options label type --- packages/fuselage/src/components/Menu/index.d.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/fuselage/src/components/Menu/index.d.ts b/packages/fuselage/src/components/Menu/index.d.ts index 764e444237..a5f318c076 100644 --- a/packages/fuselage/src/components/Menu/index.d.ts +++ b/packages/fuselage/src/components/Menu/index.d.ts @@ -9,10 +9,7 @@ type MenuProps = Omit, 'icon'> & { icon?: string; options: { [id: string]: { - label: { - title: string; - icon: string; - }; + label: ReactElement | string; action: () => void; }; };