RadioItem: fix dark mode

This commit is contained in:
Alex Gleason 2022-04-28 11:47:35 -05:00
parent 4cf9fab13c
commit cee9d45b9d
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -5,7 +5,7 @@ import ImmutablePureComponent from 'react-immutable-pure-component';
import { FormattedMessage } from 'react-intl';
import { v4 as uuidv4 } from 'uuid';
import { Select } from '../../components/ui';
import { Text, Select } from '../../components/ui';
export const FormPropTypes = {
label: PropTypes.oneOfType([
@ -224,7 +224,8 @@ export class RadioItem extends ImmutablePureComponent {
return (
<li className='radio'>
<label htmlFor={id}>
<input id={id} type='radio' {...props} /> {label}
<input id={id} type='radio' {...props} />
<Text>{label}</Text>
{hint && <span className='hint'>{hint}</span>}
</label>
</li>