import { Box, Stack, TextField, Typography } from '@mui/material'; import { RequiredOptionsProps } from './Examples'; import CheckboxWithDesc from 'components/options/CheckboxWithDesc'; export default function RequiredOptions({ options }: { options: RequiredOptionsProps; }) { const { joinCharacter, deleteBlankLines, deleteTrailingSpaces } = options; const handleBoxClick = () => { const toolsElement = document.getElementById('tool'); if (toolsElement) { toolsElement.scrollIntoView({ behavior: 'smooth' }); } }; return ( Required options These options will be used automatically if you select this example. {deleteBlankLines ? ( {}} description="Delete lines that don't have text symbols." /> ) : ( '' )} {deleteTrailingSpaces ? ( {}} description="Remove spaces and tabs at the end of the lines." /> ) : ( '' )} ); }