use correct type for children

This commit is contained in:
Thomas Ruoff
2020-09-03 00:24:18 +02:00
committed by Thomas Ruoff
parent ef4c8ce24a
commit 7e284a6421

View File

@@ -4,7 +4,7 @@ import Required from './required'
export default function Input(props: {
label: string
required: boolean
children: React.ReactChildren
children: ReactNode
}) {
const { label, required, children } = props