How to use the datax-common.IconButtonStyles.neutralStyle 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 / output / outputSettingsContent.jsx View on Github external
renderDeleteSinkerButton() {
        // enable only if there is a sinker selected and its not a metric sinker.
        // we do not allow the user to delete our provided metric sinker.
        const sinker = this.getSinker();
        const enableButton = sinker !== undefined && !Helpers.isMetricSinker(sinker) && this.props.deleteOutputSinkButtonEnabled;

        return (
             this.props.onDeleteSinker(this.props.selectedSinkerIndex)}
            >
                <i style="{enableButton">
                Delete
            </i><i style="{enableButton">
        );
    }
</i>
github microsoft / data-accelerator / Website / Packages / datax-pipeline / src / modules / flowDefinition / components / flowDefinitionPanel.jsx View on Github external
renderBackButton() {
        const buttonTooltip = this.props.flow.isDirty || this.props.isQueryDirty ? 'Discard Changes' : 'Go Back';
        let buttonText = this.props.flow.isDirty || this.props.isQueryDirty ? 'Cancel' : 'Back';
        let buttonIcon = <i style="{IconButtonStyles.neutralStyle}">;

        if (this.state.loading) {
            // render the button as empty during load but keep it existing so that button toolbar is visible
            buttonText = '';
            buttonIcon = null;
        }

        return (
             this.onCancel()}&gt;
                {buttonIcon}
                {buttonText}
            
        );
    }
</i>
github microsoft / data-accelerator / Website / Packages / datax-pipeline / src / modules / flowDefinition / components / schedule / scheduleSettingsContent.jsx View on Github external
renderDeleteBatchButton() {
        const batch = this.getBatch();
        const enableButton = batch !== undefined &amp;&amp; this.props.deleteBatchButtonEnabled;

        return (
             this.props.onDeleteBatch(this.props.selectedBatchIndex)}
            &gt;
                <i style="{enableButton">
                Delete
            </i><i style="{enableButton">
        );
    }
</i>
github microsoft / data-accelerator / Website / Packages / datax-pipeline / src / modules / flowDefinition / components / function / azureFunctionSettings.jsx View on Github external
renderDeleteParamButton(index) {
        return (
             this.onDeleteParam(index)}
            &gt;
                <i style="{IconButtonStyles.neutralStyle}">
            </i><i style="{IconButtonStyles.neutralStyle}">
        );
    }
</i>
github microsoft / data-accelerator / Website / Packages / datax-pipeline / src / modules / flowDefinition / components / query / querySettingsContent.jsx View on Github external
renderPreviewCodeGenQueryButton() {
        const display = 'Preview';
        return (
            <div style="{toggleStyle}">
                 this.onUpdatePreviewCodeGenQuery()}
                &gt;
                    <i style="{this.props.previewQueryButtonEnabled">
                    {display}
                </i><i style="{this.props.previewQueryButtonEnabled">
            </i></div><i style="{this.props.previewQueryButtonEnabled">
        );
    }
</i>
github microsoft / data-accelerator / Website / Packages / datax-pipeline / src / modules / flowDefinition / components / function / functionSettingsContent.jsx View on Github external
renderDeleteFunctionButton() {
        const enableButton = this.props.selectedFunctionIndex !== undefined &amp;&amp; this.props.deleteFunctionButtonEnabled;

        return (
             this.props.onDeleteFunction(this.props.selectedFunctionIndex)}
            &gt;
                <i style="{enableButton">
                Delete
            </i><i style="{enableButton">
        );
    }
</i>