refactor: rewrite and enhance chart control withVerification (#11435)

* refactor: rewrite and enhance chart control withVerification

* Add toasts for failed messages; fixes popover render
This commit is contained in:
Jesse Yang
2020-11-02 15:06:20 -08:00
committed by GitHub
parent d7aa3d792b
commit fac29f9dff
14 changed files with 436 additions and 268 deletions

View File

@@ -27,7 +27,7 @@ import './Control.less';
export type ControlProps = {
// the actual action dispatcher (via bindActionCreators) has identical
// signature to the original action factory.
actions: ExploreActions;
actions: Partial<ExploreActions> & Pick<ExploreActions, 'setControlValue'>;
type: ControlType;
label: string;
name: string;