feat: allow readonly actions to be used in viewMode (#5982)

This commit is contained in:
David Luzar 2022-12-11 22:57:03 +01:00 committed by GitHub
parent 8466eb0eef
commit cc9e764585
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 18 additions and 12 deletions

View file

@ -164,4 +164,7 @@ export interface Action {
value: any,
) => boolean;
};
/** if set to `true`, allow action to be performed in viewMode.
* Defaults to `false` */
viewMode?: boolean;
}