web.lib.components.layout.missing-extension-warning-modal.tsx Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of code-quarkus Show documentation
Show all versions of code-quarkus Show documentation
Customize a Web Interface to generate Quarkus starter projects.
import { Alert, Button, Modal } from 'react-bootstrap';
import * as React from 'react';
import { Platform, QuarkusProject } from '../api/model';
export function MissingExtensionWarningModal(props: { missingExtensions: string[]; project: QuarkusProject; platform: Platform; setMissingExtensions: React.Dispatch}) {
return (
Missing extensions warning
{props.missingExtensions.map(e => `'${e}'`).join(', ')} {props.missingExtensions.length > 1 ? 'are': 'is'} missing from the current stream '{props.project.streamKey}', {props.missingExtensions.length > 1 ? 'they have': 'it has'} been unselected.
);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy