mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 06:27:19 +01:00
align onChange types
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user