Fix more types, migrate two more files

This commit is contained in:
HarelM
2023-12-24 00:42:02 +02:00
parent 08f7a427f6
commit 90f50d98e7
28 changed files with 136 additions and 110 deletions

View File

@@ -5,7 +5,8 @@ import InputString from './InputString'
type FieldCommentProps = {
value?: string
onChange(...args: unknown[]): unknown
onChange(value: string | undefined): unknown
error: {message: string}
};
export default class FieldComment extends React.Component<FieldCommentProps> {
@@ -18,6 +19,7 @@ export default class FieldComment extends React.Component<FieldCommentProps> {
label={"Comments"}
fieldSpec={fieldSpec}
data-wd-key="layer-comment"
error={this.props.error}
>
<InputString
multi={true}