Skip to content

Commit

Permalink
fix: imrove typing
Browse files Browse the repository at this point in the history
  • Loading branch information
OleksandrNechai committed Sep 8, 2023
1 parent 3c94dea commit ca2bf33
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/picasso-forms/src/FieldWrapper/FieldWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import type { ValueType, IFormComponentProps } from '../FieldBase'
import FieldLabel from '../FieldLabel'
import InputField from '../InputField'

export type Props<TWrappedComponentProps, TInputValue> = Omit<
FieldProps<TWrappedComponentProps, TInputValue>,
'label'
> & { label?: React.ReactNode }
export type Props<TWrappedComponentProps, TInputValue> = FieldProps<
TWrappedComponentProps,
TInputValue
>

const FieldWrapper = <
TWrappedComponentProps extends IFormComponentProps,
Expand Down

0 comments on commit ca2bf33

Please sign in to comment.