mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Added controls to ContextMenu story (#54373)
This commit is contained in:
committed by
GitHub
parent
34fe7a1119
commit
042fbcc609
@@ -2,7 +2,7 @@ import React, { useState } from 'react';
|
||||
|
||||
import { ContextMenu } from '../ContextMenu/ContextMenu';
|
||||
|
||||
interface WithContextMenuProps {
|
||||
export interface WithContextMenuProps {
|
||||
/** Menu item trigger that accepts openMenu prop */
|
||||
children: (props: { openMenu: React.MouseEventHandler<HTMLElement> }) => JSX.Element;
|
||||
/** A function that returns an array of menu items */
|
||||
|
||||
Reference in New Issue
Block a user