mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 06:27:19 +01:00
fix all type errors
This commit is contained in:
@@ -3,15 +3,15 @@ import React from 'react'
|
||||
export default function Input({
|
||||
text,
|
||||
name,
|
||||
value,
|
||||
value = '',
|
||||
placeholder,
|
||||
onchange,
|
||||
}: {
|
||||
text: string
|
||||
name: string
|
||||
value: string
|
||||
placeholder: string
|
||||
onchange: () => void
|
||||
value?: string
|
||||
placeholder?: string
|
||||
onchange: (name: string, event: React.ChangeEvent<HTMLInputElement>) => void
|
||||
}) {
|
||||
return (
|
||||
<label>
|
||||
|
||||
Reference in New Issue
Block a user