import React from 'react'; import { Box, Typography, Paper, FormControlLabel, Switch } from '@mui/material'; interface OptionsPanelProps { includeHidden: boolean; onIncludeHiddenChange: (checked: boolean) => void; } const OptionsPanel: React.FC = ({ includeHidden, onIncludeHiddenChange }) => { return ( 填充选项 onIncludeHiddenChange(e.target.checked)} color="primary" /> } label="包含隐藏字段" sx={{ width: '100%' }} /> ); }; export default OptionsPanel;