/* * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 */ import { EuiComboBox, EuiComboBoxOptionOption, EuiSpacer, EuiFormRow } from "@elastic/eui"; import React from "react"; import { IndexItem } from "../../../../../models/interfaces"; interface SnapshotIndicesInputProps { indexOptions: EuiComboBoxOptionOption[]; selectedIndexOptions: EuiComboBoxOptionOption[]; onIndicesSelectionChange: (selectedOptions: EuiComboBoxOptionOption[]) => void; getIndexOptions: (searchValue: string) => void; onCreateOption: (searchValue: string, options: Array>) => void; selectedRepoValue: string; showError: boolean; isClearable: boolean; } const SnapshotIndicesInput = ({ indexOptions, selectedIndexOptions, onIndicesSelectionChange, getIndexOptions, onCreateOption, showError }: SnapshotIndicesInputProps) => { const selectionError = "You must select at least one index to restore."; return ( <> ); }; export default SnapshotIndicesInput;