Skip to content

Commit

Permalink
fix(Form): retyped form props intersection with FormHTMLAttributes (#287
Browse files Browse the repository at this point in the history
)
  • Loading branch information
benjitrosch committed Dec 31, 2022
1 parent 30683fd commit a18f7e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Form/Form.tsx
@@ -1,11 +1,11 @@
import React from 'react'
import React, { FormHTMLAttributes } from 'react'
import { twMerge } from 'tailwind-merge'

import { IComponentBaseProps } from '../types'

import Label from './Label'

export type FormProps = React.HTMLAttributes<HTMLFormElement> &
export type FormProps = FormHTMLAttributes<HTMLFormElement> &
IComponentBaseProps

const Form = React.forwardRef<HTMLFormElement, FormProps>(
Expand Down

0 comments on commit a18f7e7

Please sign in to comment.