Skip to content

Commit 06b9767

Browse files
authored
fix: re-export Radio and RadioGroup prop types (#2055)
I missed some prop types on #2020
1 parent 03934f6 commit 06b9767

3 files changed

Lines changed: 19 additions & 14 deletions

File tree

package-lock.json

Lines changed: 16 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/components/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"@fortawesome/react-fontawesome": "^0.2.0",
3434
"@react-spectrum/theme-default": "^3.5.1",
3535
"@react-spectrum/utils": "^3.11.5",
36+
"@react-types/radio": "^3.8.1",
3637
"@react-types/shared": "^3.22.1",
3738
"@react-types/textfield": "^3.9.1",
3839
"bootstrap": "4.6.2",

packages/components/src/spectrum/forms.ts

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

23+
export type { RadioGroupProps, RadioProps } from '@react-types/radio';
24+
2325
// @react-types/textfield is unecessary if https://github.com/adobe/react-spectrum/pull/6090 merge
2426
export type { SpectrumTextAreaProps as TextAreaProps } from '@react-types/textfield';

0 commit comments

Comments
 (0)