import CheckIcon from 'mdi-react/CheckIcon';
import * as React from 'react';
/** Displays the extension's configuration state (not added, added and enabled, added and disabled). */
export const ExtensionConfigurationState = ({ isAdded, isEnabled, enabledIconOnly, className = '' }) => isAdded ? (isEnabled ? (React.createElement("span", { className: `text-success ${className}` },
    React.createElement(CheckIcon, { className: "icon-inline" }),
    " ",
    !enabledIconOnly && 'Enabled')) : (React.createElement("span", { className: `text-muted ${className}` }, "Disabled"))) : null;
//# sourceMappingURL=ExtensionConfigurationState.js.map