Menu
Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Enterprise
Open source
ModalsProvider class
Signature
typescript
export declare class ModalsProvider extends React.Component<ModalsProviderProps, ModalsContextState> Import
typescript
import { ModalsProvider } from '@grafana/ui';Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| constructor(props) | Constructs a new instance of the ModalsProvider class |
Properties
Methods
| Method | Modifiers | Description |
|---|---|---|
| render() |
constructor(props)
Constructs a new instance of the ModalsProvider class
Signature
typescript
constructor(props: ModalsProviderProps);Parameters
| Parameter | Type | Description |
|---|---|---|
| props | ModalsProviderProps |
hideModal property
Signature
typescript
hideModal: () => void;showModal property
Signature
typescript
showModal: (component: React.ComponentType<any>, props: any) => void;render method
Signature
typescript
render(): JSX.Element;Returns:
JSX.Element
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Scroll for more