web.lib.components.info-picker.java-version-select.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 * 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