Added Standard with Typescript + Moved module methods to utils/itertools
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Siklos 2022-08-05 19:52:09 +02:00
parent 8e34d6b72a
commit 361a200d07
24 changed files with 258 additions and 223 deletions

View file

@ -2,7 +2,7 @@ import * as React from 'react';
import ContainerProperties from '../../Interfaces/Properties';
interface IPropertiesProps {
properties?: ContainerProperties,
properties?: ContainerProperties
onChange: (key: string, value: string) => void
}
@ -27,7 +27,7 @@ export class Properties extends React.PureComponent<IPropertiesProps> {
public handleProperties = (
[key, value]: [string, string | number],
groupInput: React.ReactNode[]
) => {
): void => {
const id = `property-${key}`;
const type = 'text';
const isDisabled = key === 'id' || key === 'parentId'; // hardcoded