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

web.lib.components.info-picker.java-version-select.tsx Maven / Gradle / Ivy

There is a newer version: 37
Show newest version
import * as React from 'react';
import { useAnalyticsEditionField } from '../../core/analytics';
import { InputProps } from '../../core/types';
import { FaAngleDown } from 'react-icons/fa';
import { JavaCompatibility } from '../api/model';

interface JavaVersionSelectProps extends InputProps {
  javaCompatibility?: JavaCompatibility;
}

export const JavaVersionSelect = (props: JavaVersionSelectProps) => {
  const onChangeWithDirty = useAnalyticsEditionField('buildTool', props.onChange)[1];
  const adaptedOnChange = (e: React.ChangeEvent) => {
    onChangeWithDirty(e.currentTarget.value);
  };
  return (
    
); };




© 2015 - 2025 Weber Informatics LLC | Privacy Policy