@uxf/form
Advanced tools
Comparing version 11.19.1 to 11.19.2
{ | ||
"name": "@uxf/form", | ||
"version": "11.19.1", | ||
"version": "11.19.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
import { SelectBaseValueId } from "@uxf/ui/_select-base"; | ||
import { SelectProps as UISelectProps } from "@uxf/ui/select"; | ||
import { SelectProps as UISelectProps, SelectValue as UISelectValue } from "@uxf/ui/select"; | ||
import { FormControlProps } from "@uxf/ui/types"; | ||
import React from "react"; | ||
import { FieldValues } from "react-hook-form"; | ||
import { ControlProps } from "../types"; | ||
type OnChangeHandler = FormControlProps<UISelectValue | null>["onChange"]; | ||
export type SelectProps<FormData extends FieldValues> = ControlProps<FormData> & Omit<UISelectProps, "isInvalid" | "name" | "onChange" | "value"> & { | ||
onChange?: UISelectProps["onChange"]; | ||
onChange?: OnChangeHandler; | ||
requiredMessage?: string; | ||
@@ -15,1 +17,2 @@ }; | ||
} | ||
export {}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
186507
3429