Skip to content

Commit

Permalink
Fixed prop types on Menubar / Toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
rschyboll committed Feb 12, 2021
1 parent 07eaac0 commit 4dffe3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/menubar/Menubar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ interface MenubarProps {
model?: MenuItem[];
style?: object;
className?: string;
start?: ((props: object) => any | any);
end?: ((props: object) => any | any)
start?: ((props: object) => any | any) | JSX.Element;
end?: ((props: object) => any | any) | JSX.Element;
}

export class Menubar extends React.Component<MenubarProps,any> {}
4 changes: 2 additions & 2 deletions src/components/toolbar/Toolbar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ interface ToolbarProps {
id?: string;
style?: object;
className?: string;
left?:((props: object) => any | any);
right?:((props: object) => any | any);
left?:((props: object) => any | any) | JSX.Element;
right?:((props: object) => any | any) | JSX.Element;
}

export class Toolbar extends React.Component<ToolbarProps,any> {}

0 comments on commit 4dffe3f

Please sign in to comment.