Skip to content

Commit

Permalink
[#981] Update selected style
Browse files Browse the repository at this point in the history
  • Loading branch information
navins94 committed Jan 19, 2024
1 parent f6604d8 commit 307f042
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions app/src/form/support/OptionItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,7 @@ import { Text } from 'react-native';
const OptionItem = ({ label, color, name }, active) => {
return (
<View style={[{ padding: 3 }]}>
<View
style={[
{
padding: 8,
backgroundColor: color ? color : active ? '#bcbcbc' : '#FFF',
borderRadius: color ? 5 : 0,
},
]}
>
<View style={[{ backgroundColor: active ? '#0047AB' : color || '#FFF', padding: 15 }]}>
<Text style={{ fontWeight: color ? 'bold' : 'normal', color: color ? 'white' : 'black' }}>
{label || name}
</Text>
Expand Down

0 comments on commit 307f042

Please # to comment.