We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f296b7e + 11ffdc5 commit 577c493Copy full SHA for 577c493
1 file changed
src/lib/Model/PublicModel.ts
@@ -626,8 +626,8 @@ export interface Row<TCell extends Cell = DefaultCellTypes> {
626
export interface MenuOption {
627
/** Text that identifies each menu option */
628
id: string;
629
- /** Text label displayed as its title */
630
- label: string;
+ /** Label displayed as its title */
+ label: React.ReactNode;
631
/**
632
* Function that is called when an option is clicked
633
*
@@ -643,4 +643,4 @@ export interface MenuOption {
643
export interface ReactGridInstance extends React.Component<ReactGridProps, any, any> {
644
/** This method is used to clear the selected item */
645
clearSelections(): void;
646
- }
+}
0 commit comments