Skip to content

Commit

Permalink
re-export Radio and RadioGroup prop types (deephaven#2020)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Jun 4, 2024
1 parent 03934f6 commit 2ba9b9b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
30 changes: 16 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"@fortawesome/react-fontawesome": "^0.2.0",
"@react-spectrum/theme-default": "^3.5.1",
"@react-spectrum/utils": "^3.11.5",
"@react-types/radio": "^3.8.1",
"@react-types/shared": "^3.22.1",
"@react-types/textfield": "^3.9.1",
"bootstrap": "4.6.2",
Expand Down
2 changes: 2 additions & 0 deletions packages/components/src/spectrum/forms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ export {
type SpectrumTextFieldProps as TextFieldProps,
} from '@adobe/react-spectrum';

export type { RadioGroupProps, RadioProps } from '@react-types/radio';

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

0 comments on commit 2ba9b9b

Please sign in to comment.