Check out example codes for "passing an amount to a donation radio button html code". It will help you in understanding the concepts better.

Code Example 1

<input type="radio" class="rbdonation" value="180000"...
<input type="radio" class="rbdonation" value="120000"...
<input type="radio" class="rbdonation" value="95000"...

Learn ReactJs, React Native from akashmittal.com