UNPKG

537 BJavaScriptView Raw
1import * as React from 'react';
2/** Displays the extension's configuration state (not added, added and enabled, added and disabled). */
3export const ExtensionConfigurationState = ({ isAdded, isEnabled, enabledIconOnly, className = '' }) => isAdded ? (isEnabled ? (React.createElement("span", { className: `text-success ${className}` },
4 "\u2713 ",
5 !enabledIconOnly && 'Enabled')) : (React.createElement("span", { className: `text-muted ${className}` }, "Disabled"))) : null;
6//# sourceMappingURL=ExtensionConfigurationState.js.map
\No newline at end of file