Skip to content

Commit

Permalink
Merge pull request #427 from namakshenas/add-disabled-radio
Browse files Browse the repository at this point in the history
Add disabled prop to Radio
  • Loading branch information
AnnMarieW authored Nov 22, 2024
2 parents c06c28a + 202a316 commit 635fce3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# Change Log

# Unreleased

### Added

- Added `disabled` prop to `Radio` #425 by @namakshenas

### Fixed
- Fixed closing of Popovers when clicking outside. #423 by @magicmq


# 0.15.0

### Changed
Expand Down
2 changes: 2 additions & 0 deletions src/ts/components/core/radio/Radio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ interface Props
iconColor?: MantineColor;
/** Determines whether icon color with filled variant should depend on `background-color`. If luminosity of the `color` prop is less than `theme.luminosityThreshold`, then `theme.white` will be used for text color, otherwise `theme.black`. Overrides `theme.autoContrast`. */
autoContrast?: boolean;
/** Determines whether Radio disabled and non-selectable */
disabled?: boolean;
/** To be used with Radio group */
value?: string;
}
Expand Down

0 comments on commit 635fce3

Please sign in to comment.