Skip to content

Commit 6c1b992

Browse files
authored
LG-3667: Updates disabled Radio label (#1831)
* with changeset * rm console * use label prop to style
1 parent b0b70b7 commit 6c1b992

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/spicy-hairs-fly.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@leafygreen-ui/radio-group': patch
3+
---
4+
5+
Updates label color when disabled to match Figma spec

packages/radio-group/src/Radio/Radio.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ function Radio({
6666
return (
6767
<div className={cx(containerStyle, containerSizeStyle[normalizedSize])}>
6868
<Label
69+
disabled={disabled}
6970
darkMode={darkMode}
7071
htmlFor={id!}
7172
className={cx(

0 commit comments

Comments
 (0)