mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 14:37:13 +01:00
use correct type for children
This commit is contained in:
committed by
Thomas Ruoff
parent
ef4c8ce24a
commit
7e284a6421
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user