1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-07 22:56:51 +02:00

Change the background color of selected radio

This commit is contained in:
Phuoc Nguyen
2019-12-01 19:52:07 +07:00
parent 86f323faa2
commit dc24bd5182
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ const Cover: React.FC<{}> = () => {
padding: '4px', padding: '4px',
}} }}
> >
<Circle /> <Circle backgroundColor='#00449E' />
</div> </div>
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<Rectangle /> <Rectangle />

View File

@@ -40,7 +40,7 @@ const Details: React.FC<{}> = () => {
<div <div
style={{ style={{
backgroundColor: value === selectedValue backgroundColor: value === selectedValue
? 'rgba(0, 0, 0, 0.3)' ? '#00449E'
: 'transparent', : 'transparent',
borderRadius: '9999px', borderRadius: '9999px',
height: '16px', height: '16px',