Hellou! I have 2 radio exchanges and I want to add a link. I tried to do it like this:
<RadioButton value="/searchByArtistAndName" label="Artist and Name" style={styles.radioButton} containerElement={<Link to="/searchByArtistAndName"/>} />
But for RadioButton, the containerElement element is not defined. Any idea?
You can put any reaction component in the label property, not just a text string.
<RadioButton label={<Link to="/your_route" />} ... />
Source: https://habr.com/ru/post/1260102/More articles:Reading a file registered through slf4android? - androidSpring and Thymeleaf: HTML template mode not configured - javaScala: implicitly for an implicit class - scalaHiding items with one class after first display - cssUsing Flow.js in Vue.js - javascriptParallel conversions to RDD in foreachDD functions Spark DStream - javaperl compare strings with "==" - perlChanging Ionic 2 code - ionic-frameworkApplication launch slowed down: could not open '/system/framework/dpmapi.jar' - javaError MSB1001: Unknown Switch - Visual Studio 2017 RC - visual-studio-2017All Articles