diff --git a/src/plugins/vis_type_drilldown/public/card_form.tsx b/src/plugins/vis_type_drilldown/public/card_form.tsx deleted file mode 100644 index 27bf46b8033c..000000000000 --- a/src/plugins/vis_type_drilldown/public/card_form.tsx +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright OpenSearch Contributors - * SPDX-License-Identifier: Apache-2.0 - */ - -import React, { useState } from 'react'; -import { - EuiPanel, - EuiTitle, - EuiTextArea, - EuiFlexItem, - EuiFieldText, - EuiAccordion, - EuiFlexGroup, -} from '@elastic/eui'; -import { Card } from './types'; - -interface CardFormProps { - index: number; - card: Card; - updateCard: (index: number, card: Card) => void; -} - -const CardForm = ({ index, card, updateCard }: CardFormProps) => { - return ( - - - - - -

- -

-
-
- - - { - updateCard(index, { ...card, cardName: value }); - }} - fullWidth={true} - /> - - - - -

- -

-
-
- - - { - updateCard(index, { ...card, cardDescription: value }); - }} - fullWidth={true} - data-test-subj="markdownTextarea" - /> - - - - -

- -

-
-
- - - { - updateCard(index, { ...card, cardUrl: value }); - }} - fullWidth={true} - /> - -
-
-
- ); -}; - -export { CardForm };