@yamada-ui/radio 0.0.0-dev-20231125231813 → 0.0.0-dev-20231125234802
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/radio-group.d.mts +1 -1
- package/dist/radio-group.d.ts +1 -1
- package/package.json +1 -1
package/dist/radio-group.d.mts
CHANGED
|
@@ -60,7 +60,7 @@ declare const useRadioGroup: <Y extends string | number = string>({ id, name, is
|
|
|
60
60
|
onChange: (ev: ChangeEvent<HTMLInputElement> | Y) => void;
|
|
61
61
|
}>;
|
|
62
62
|
};
|
|
63
|
-
type UseRadioGroupReturn = ReturnType<typeof useRadioGroup
|
|
63
|
+
type UseRadioGroupReturn<Y extends string | number = string> = ReturnType<typeof useRadioGroup<Y>>;
|
|
64
64
|
type RadioGroupProps<Y extends string | number = string> = ThemeProps<"Radio"> & Omit<FlexProps, "onChange"> & UseRadioGroupProps<Y> & FormControlOptions & {
|
|
65
65
|
/**
|
|
66
66
|
* If provided, generate radios based on items.
|
package/dist/radio-group.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ declare const useRadioGroup: <Y extends string | number = string>({ id, name, is
|
|
|
60
60
|
onChange: (ev: ChangeEvent<HTMLInputElement> | Y) => void;
|
|
61
61
|
}>;
|
|
62
62
|
};
|
|
63
|
-
type UseRadioGroupReturn = ReturnType<typeof useRadioGroup
|
|
63
|
+
type UseRadioGroupReturn<Y extends string | number = string> = ReturnType<typeof useRadioGroup<Y>>;
|
|
64
64
|
type RadioGroupProps<Y extends string | number = string> = ThemeProps<"Radio"> & Omit<FlexProps, "onChange"> & UseRadioGroupProps<Y> & FormControlOptions & {
|
|
65
65
|
/**
|
|
66
66
|
* If provided, generate radios based on items.
|