import { withFieldGroup, withForm } from 'react-science/ui'; import { displayPanelsStatus } from '../validation/panels_tab_validation.js'; import { defaultGeneralSettingsFormValues } from '../validation.js'; export const PanelsTab = withForm({ defaultValues: defaultGeneralSettingsFormValues, render: ({ form }) => { const { Section, AppField } = form; return ( <>
{({ Checkbox }) => }
); }, }); const SpectraSettings = withFieldGroup({ defaultValues: defaultGeneralSettingsFormValues.display.panels, render: ({ group }) => { const { Section, AppField } = group; return (
{({ Select }) => ( )} {({ Select }) => ( } {({ Select }) => ( )} {({ Select }) => ( )} {({ Select }) => ( }
); }, }); const ChemicalSettings = withFieldGroup({ defaultValues: defaultGeneralSettingsFormValues.display.panels, render: ({ group }) => { const { Section, AppField } = group; return (
{({ Select }) => ( )} {({ Select }) => ( )} {({ Select }) => (