Skip to content

Commit 98be05a

Browse files
authored
fix: Exporting correct Radio prop types (#2058)
Looks like I exported the incorrect Radio component prop types in previous PR. There are apparently extended ones for Spectrum. https://github.com/adobe/react-spectrum/blob/7da3d384aa0c6bdc14449c4f138e963a094a7a38/packages/%40react-types/radio/src/index.d.ts#L58-L71 #2020
1 parent 879ab48 commit 98be05a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • packages/components/src/spectrum

packages/components/src/spectrum/forms.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ export {
2020
type SpectrumTextFieldProps as TextFieldProps,
2121
} from '@adobe/react-spectrum';
2222

23-
export type { RadioGroupProps, RadioProps } from '@react-types/radio';
23+
export type {
24+
SpectrumRadioGroupProps as RadioGroupProps,
25+
SpectrumRadioProps as RadioProps,
26+
} from '@react-types/radio';
2427

2528
// @react-types/textfield is unecessary if https://github.com/adobe/react-spectrum/pull/6090 merge
2629
export type { SpectrumTextAreaProps as TextAreaProps } from '@react-types/textfield';

0 commit comments

Comments
 (0)