mirror of
https://github.com/maputnik/editor.git
synced 2026-03-09 03:40:01 +00:00
Migration of jsx files to tsx 3 (#851)
This is in continue to: - #850 - #848 The last files should be converted as part of this PR, there are only a handful left.
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user