Added Standard with Typescript + Moved module methods to utils/itertools
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8e34d6b72a
commit
361a200d07
24 changed files with 258 additions and 223 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue