import { Flex, Icon, ListItem, OrderedList, Tabs, Text } from '@chakra-ui/react'; import { SegmentTopNavSettings } from './SegmentTopNavSettings'; import { VQuote } from '~/components/HelpText/VQuote'; import { SegmentAddKeyDropdown } from './SegmentAddKeyDropdown'; import React from 'react'; import { MdFileUpload } from 'react-icons/md'; export interface SegmentKeyImportInstructionsProps { clientInstructions: React.ReactNode; tab: string; keyInstructionText?: React.ReactNode; } export function SegmentKeyImportInstructions({ clientInstructions, tab, keyInstructionText = '选择你的客户端平台来查看密钥提取说明:', }: SegmentKeyImportInstructionsProps) { return ( <> 导入密钥可以参考下面的步骤: 设定区域选择{tab} {'选择 '} 从文件导入密钥… {keyInstructionText} {clientInstructions} ); }