Docs: run the api-extractor on master to update docs (#23726)
* regenerated packages docs. * fixed spelling issues. * fixed spelling issues.
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
+++
|
||||
# -----------------------------------------------------------------------
|
||||
# Do not edit this file. It is automatically generated by API Documenter.
|
||||
# -----------------------------------------------------------------------
|
||||
title = "ModalsProvider"
|
||||
keywords = ["grafana","documentation","sdk","@grafana/ui"]
|
||||
type = "docs"
|
||||
draft = true
|
||||
+++
|
||||
|
||||
## ModalsProvider class
|
||||
|
||||
<b>Signature</b>
|
||||
|
||||
```typescript
|
||||
export declare class ModalsProvider extends React.Component<ModalsProviderProps, ModalsContextState>
|
||||
```
|
||||
<b>Import</b>
|
||||
|
||||
```typescript
|
||||
import { ModalsProvider } from '@grafana/ui';
|
||||
```
|
||||
<b>Constructors</b>
|
||||
|
||||
| Constructor | Modifiers | Description |
|
||||
| --- | --- | --- |
|
||||
| [constructor(props)](#constructor-props) | | Constructs a new instance of the <code>ModalsProvider</code> class |
|
||||
|
||||
<b>Properties</b>
|
||||
|
||||
| Property | Modifiers | Type | Description |
|
||||
| --- | --- | --- | --- |
|
||||
| [hideModal](#hidemodal-property) | | <code>() => void</code> | |
|
||||
| [showModal](#showmodal-property) | | <code>(component: React.ComponentType<any>, props: any) => void</code> | |
|
||||
|
||||
<b>Methods</b>
|
||||
|
||||
| Method | Modifiers | Description |
|
||||
| --- | --- | --- |
|
||||
| [render()](#render-method) | | |
|
||||
|
||||
### constructor(props)
|
||||
|
||||
Constructs a new instance of the `ModalsProvider` class
|
||||
|
||||
<b>Signature</b>
|
||||
|
||||
```typescript
|
||||
constructor(props: ModalsProviderProps);
|
||||
```
|
||||
<b>Parameters</b>
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| props | <code>ModalsProviderProps</code> | |
|
||||
|
||||
### hideModal property
|
||||
|
||||
<b>Signature</b>
|
||||
|
||||
```typescript
|
||||
hideModal: () => void;
|
||||
```
|
||||
|
||||
### showModal property
|
||||
|
||||
<b>Signature</b>
|
||||
|
||||
```typescript
|
||||
showModal: (component: React.ComponentType<any>, props: any) => void;
|
||||
```
|
||||
|
||||
### render method
|
||||
|
||||
<b>Signature</b>
|
||||
|
||||
```typescript
|
||||
render(): JSX.Element;
|
||||
```
|
||||
<b>Returns:</b>
|
||||
|
||||
`JSX.Element`
|
||||
|
||||
Reference in New Issue
Block a user