Skip to content

Form.InputFile is missing name typescript definition #420

@moosbruggerj

Description

@moosbruggerj

Describe the bug
the name property is missing in the InputFileProps

To Reproduce
Add name to an input file.

import { Form } from "react-bulma-components"

function MyInput() {
  return <Form.InputFile name="" />
}

Produces the following error:

Property 'name' does not exist on type 'IntrinsicAttributes & InputFileProps & SpacingProps & FlexboxProps & HelperProps & ColorProps & ResponsiveProps & TypographyProps & { ...; } & OmitKeys<...>'.

Expected behavior
Name should be accepted

Versions

  • react-bulma-components: 4.1.0
  • bulma: 0.9.4
  • react: 18.2.0
  • Browser: -

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions