Merged PR 163: Remove the static form + rename some components for clarity
All checks were successful
continuous-integration/drone/push Build is passing

The static form is hard to maintain so I am removing it + rename some components for clarity + moved some utils files
This commit is contained in:
Eric Nguyen 2022-08-22 14:37:25 +00:00
parent 7e3ccdee99
commit 66ea3b1b64
21 changed files with 150 additions and 523 deletions

View file

@ -1,8 +1,6 @@
import React, { useState } from 'react';
import IContainerProperties from '../../Interfaces/IContainerProperties';
import React from 'react';
import { ISymbolModel } from '../../Interfaces/ISymbolModel';
import { ToggleButton } from '../ToggleButton/ToggleButton';
import { Form } from './Form';
import SymbolForm from './SymbolForm';
interface ISymbolPropertiesProps {
symbol?: ISymbolModel
@ -17,7 +15,7 @@ export const SymbolProperties: React.FC<ISymbolPropertiesProps> = (props: ISymbo
return (
<div className='h-3/5 p-3 bg-slate-200 overflow-y-auto'>
<Form
<SymbolForm
symbol={props.symbol}
symbols={props.symbols}
onChange={props.onChange}