mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
required is optional
This commit is contained in:
@@ -4,7 +4,7 @@ import Required from './required'
|
||||
export default function Input(props: {
|
||||
label: string
|
||||
name?: string
|
||||
required: boolean
|
||||
required?: boolean
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
const { label, name, required, children } = props
|
||||
@@ -24,4 +24,4 @@ export default function Input(props: {
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user