parent
24aef66c31
commit
d7b00eebc0
6 changed files with 52 additions and 35 deletions
@ -1,11 +1,11 @@ |
|||||||
import { Box } from '@mui/material'; |
import { Box } from '@mui/material'; |
||||||
import { FC, useMemo, useState } from 'react'; |
import { FC, useMemo, useState } from 'react'; |
||||||
|
|
||||||
import Autocomplete from './Autocomplete'; |
import Autocomplete from '../Autocomplete'; |
||||||
import CommonFenceInputGroup from './CommonFenceInputGroup'; |
import CommonFenceInputGroup from './CommonFenceInputGroup'; |
||||||
import FlexBox from './FlexBox'; |
import FlexBox from '../FlexBox'; |
||||||
import Spinner from './Spinner'; |
import Spinner from '../Spinner'; |
||||||
import { BodyText } from './Text'; |
import { BodyText } from '../Text'; |
||||||
|
|
||||||
const AddFenceInputGroup: FC<AddFenceInputGroupProps> = ({ |
const AddFenceInputGroup: FC<AddFenceInputGroupProps> = ({ |
||||||
fenceTemplate: externalFenceTemplate, |
fenceTemplate: externalFenceTemplate, |
@ -1,15 +1,15 @@ |
|||||||
import { Box, styled, Tooltip } from '@mui/material'; |
import { Box, styled, Tooltip } from '@mui/material'; |
||||||
import { FC, ReactElement, ReactNode, useMemo } from 'react'; |
import { FC, ReactElement, ReactNode, useMemo } from 'react'; |
||||||
|
|
||||||
import INPUT_TYPES from '../lib/consts/INPUT_TYPES'; |
import INPUT_TYPES from '../../lib/consts/INPUT_TYPES'; |
||||||
|
|
||||||
import FlexBox from './FlexBox'; |
import FlexBox from '../FlexBox'; |
||||||
import InputWithRef from './InputWithRef'; |
import InputWithRef from '../InputWithRef'; |
||||||
import OutlinedInputWithLabel from './OutlinedInputWithLabel'; |
import OutlinedInputWithLabel from '../OutlinedInputWithLabel'; |
||||||
import { ExpandablePanel } from './Panels'; |
import { ExpandablePanel } from '../Panels'; |
||||||
import SelectWithLabel from './SelectWithLabel'; |
import SelectWithLabel from '../SelectWithLabel'; |
||||||
import SwitchWithLabel from './SwitchWithLabel'; |
import SwitchWithLabel from '../SwitchWithLabel'; |
||||||
import { BodyText } from './Text'; |
import { BodyText } from '../Text'; |
||||||
|
|
||||||
const CHECKED_STATES: Array<string | undefined> = ['1', 'on']; |
const CHECKED_STATES: Array<string | undefined> = ['1', 'on']; |
||||||
const ID_SEPARATOR = '-'; |
const ID_SEPARATOR = '-'; |
@ -1,7 +1,7 @@ |
|||||||
import { FC, useMemo } from 'react'; |
import { FC, useMemo } from 'react'; |
||||||
|
|
||||||
import CommonFenceInputGroup from './CommonFenceInputGroup'; |
import CommonFenceInputGroup from './CommonFenceInputGroup'; |
||||||
import Spinner from './Spinner'; |
import Spinner from '../Spinner'; |
||||||
|
|
||||||
const EditFenceInputGroup: FC<EditFenceInputGroupProps> = ({ |
const EditFenceInputGroup: FC<EditFenceInputGroupProps> = ({ |
||||||
fenceId, |
fenceId, |
@ -0,0 +1,3 @@ |
|||||||
|
import ManageFencePanel from './ManageFencePanel'; |
||||||
|
|
||||||
|
export default ManageFencePanel; |
Loading…
Reference in new issue