Skip to content

Commit 8eefa6f

Browse files
committed
fix: update MenuOption label type to React.ReactNode
1 parent f296b7e commit 8eefa6f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/Model/PublicModel.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ export interface MenuOption {
627627
/** Text that identifies each menu option */
628628
id: string;
629629
/** Text label displayed as its title */
630-
label: string;
630+
label: React.ReactNode;
631631
/**
632632
* Function that is called when an option is clicked
633633
*
@@ -643,4 +643,4 @@ export interface MenuOption {
643643
export interface ReactGridInstance extends React.Component<ReactGridProps, any, any> {
644644
/** This method is used to clear the selected item */
645645
clearSelections(): void;
646-
}
646+
}

0 commit comments

Comments
 (0)