How to use the datax-common.IconButtonStyles.disabledStyle function in datax-common

To help you get started, we’ve selected a few datax-common examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / data-accelerator / Website / Packages / datax-pipeline / src / modules / flowDefinition / components / function / functionSettingsContent.jsx View on Github external
: Models.functionTypes.map(functionType => {
                  return Object.assign({}, functionType, {
                      onClick: () => this.props.onNewFunction(functionType.key)
                  });
              });

        return (
            
                <i style="{this.props.addFunctionButtonEnabled">
                Add
            </i><i style="{this.props.addFunctionButtonEnabled">
        );
    }
</i>
github microsoft / data-accelerator / Website / Packages / datax-pipeline / src / modules / flowDefinition / components / flowDefinitionPanel.jsx View on Github external
renderDeployButton() {
        if (!this.state.loading) {
            const enableButton =
                //Will be enabled when user has access and flow has valid configuration. 
                this.props.flowValidated &amp;&amp; this.state.deployFlowButtonEnabled;
            return (
                 this.onDeployDefinition()}
                &gt;
                    <i style="{enableButton">
                    Deploy
                </i><i style="{enableButton">
            );
        } else {
            return null;
        }
    }
</i>
github microsoft / data-accelerator / Website / Packages / datax-pipeline / src / modules / flowDefinition / components / input / inputSettingsContent.jsx View on Github external
!this.props.fetchingInputSchema &amp;&amp;
            this.props.getInputSchemaButtonEnabled;

        const samplingInputLabel = this.renderSamplingInputLabel(this.props.input.mode);

        return (
            <div style="{rightSideSettingsStyle}">
                
                    <i style="{enableButton">
                    {display}
                </i><i style="{enableButton">
                {samplingInputLabel}
            </i></div><i style="{enableButton">
        );
    }
</i>
github microsoft / data-accelerator / Website / Packages / datax-pipeline / src / modules / flowDefinition / components / query / querySettingsContent.jsx View on Github external
renderDeleteAllKernelsButton() {
        const enableButton = this.props.deleteAllKernelsEnabled;
        const display = 'Clear All Kernels';
        return (
            <div style="{toggleStyle}">
                 this.props.onDeleteAllKernels(Actions.updateErrorMessage)}
                &gt;
                    <i style="{enableButton">
                    {display}
                </i><i style="{enableButton">
            </i></div><i style="{enableButton">
        );
    }
</i>