import { withFieldGroup, withForm } from 'react-science/ui';
import { defaultGeneralSettingsFormValues } from '../validation.ts';
export const ToolsTab = withForm({
defaultValues: defaultGeneralSettingsFormValues,
render: ({ form }) => {
return (
<>
>
);
},
});
const ChartTools = withFieldGroup({
defaultValues: defaultGeneralSettingsFormValues.display.toolBarButtons,
render: ({ group }) => {
const { Section, AppField } = group;
return (
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
);
},
});
const ImportExportTools = withFieldGroup({
defaultValues: defaultGeneralSettingsFormValues.display.toolBarButtons,
render: ({ group }) => {
const { Section, AppField } = group;
return (
{({ Checkbox }) => }
{({ Checkbox }) => }
);
},
});
const Spectra1DManipulationTools = withFieldGroup({
defaultValues: defaultGeneralSettingsFormValues.display.toolBarButtons,
render: ({ group }) => {
const { Section, AppField } = group;
return (
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
);
},
});
const Spectra2DManipulationTools = withFieldGroup({
defaultValues: defaultGeneralSettingsFormValues.display.toolBarButtons,
render: ({ group }) => {
const { Section, AppField } = group;
return (
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
{({ Checkbox }) => }
);
},
});