align onChange types

This commit is contained in:
Thomas Ruoff
2021-02-16 23:26:00 +01:00
parent 0f06bed517
commit 4f48096bbd
4 changed files with 8 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
import React from 'react'
import React, { ChangeEvent } from 'react'
import Collapsible from 'react-collapsible'
import Input from './Input'
@@ -11,7 +11,7 @@ import { IDocProps } from '../interfaces/IDocProps'
const EXAMPLE_ADDRESS = 'Max Mustermann\nMusterstr. 73\n12345 Musterstadt'
interface IProps extends IDocProps {
onChange: (name: string, event: React.ChangeEvent<{ value: string }>) => void
onChange: (name: string, event: ChangeEvent<{ value: string }>) => void
}
export default function LetterOptions(props: IProps) {