All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web.lib.components.layout.missing-extension-warning-modal.tsx Maven / Gradle / Ivy

There is a newer version: 37
Show newest version
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