@jbrowse/plugin-linear-genome-view
Version:
JBrowse 2 linear genome view
14 lines (13 loc) • 655 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { TextField } from '@mui/material';
export default function AutocompleteTextField({ TextFieldProps, params, }) {
const { helperText, slotProps = {} } = TextFieldProps;
const { ref: inputRef, ...restInputProps } = params.InputProps;
const { InputProps: _InputProps, ...restParams } = params;
return (_jsx(TextField, { ...restParams, ...TextFieldProps, inputRef: inputRef, size: "small", helperText: helperText, slotProps: {
input: {
...restInputProps,
...slotProps.input,
},
}, placeholder: "Search for location" }));
}