Constructor
# new MatrixDialog(props) → {React.PureComponent}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
props |
Object | ||
cellDimensions |
number | Object |
<optional> |
Dimensions of a cell from the |
cellDimensions.x |
number | The width of a matrix cell. |
|
cellDimensions.y |
number | The height of a matrix cell. |
|
onClose |
function | Callback fired when dialog requests to be closed. |
|
onMatrixRefresh |
function | Callback fired when matrix refreshed it's content. |
|
onSnackbarOpen |
function | Callback fired when the component request to display an error. |
|
open |
boolean | If |
|
projectId |
string | The identifier of a selected project. |
|
refreshNeeded |
boolean | If |
|
resource |
string | The name of a selected resource. |
|
saveMatrix |
function |
<optional> |
Callback fired when user requests to save matrix. |
serverBase |
string | The host in the URL of an API call. |
|
title |
React.ReactNode | The content of the |
|
queryParams |
Object |
<optional> |
The query parameters in the URL of an API call. |
queryParams.typeOfMatrix |
string | The type of a matrix to fetch. |
|
queryParams.numberOfFold |
number |
<optional> |
The index of a selected fold. |
React.PureComponent