Skip to content

Commit

Permalink
fix: update MenuOption label type to React.ReactNode
Browse files Browse the repository at this point in the history
  • Loading branch information
webloopbox committed Jan 17, 2025
1 parent f296b7e commit 8eefa6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/Model/PublicModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ export interface MenuOption {
/** Text that identifies each menu option */
id: string;
/** Text label displayed as its title */
label: string;
label: React.ReactNode;
/**
* Function that is called when an option is clicked
*
Expand All @@ -643,4 +643,4 @@ export interface MenuOption {
export interface ReactGridInstance extends React.Component<ReactGridProps, any, any> {
/** This method is used to clear the selected item */
clearSelections(): void;
}
}

0 comments on commit 8eefa6f

Please sign in to comment.