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: {
|
export default function Input(props: {
|
||||||
label: string
|
label: string
|
||||||
name?: string
|
name?: string
|
||||||
required: boolean
|
required?: boolean
|
||||||
children: React.ReactNode
|
children: React.ReactNode
|
||||||
}) {
|
}) {
|
||||||
const { label, name, required, children } = props
|
const { label, name, required, children } = props
|
||||||
|
|||||||
Reference in New Issue
Block a user