Hellou! I have 2 radiobuttons and I want to add a link. I tried to do it the way:
    <RadioButton
      value="/searchByArtistAndName"
      label="Artist and Name"
      style={styles.radioButton}
      containerElement={<Link to="/searchByArtistAndName"/>}
    />
But containerElement is not defined for RadioButton. Any idea?
You can put any react component in the label property, not just a text string.
<RadioButton
  label={<Link to="/your_route" />}
  ...
/>
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With