Radio_Button
Используется для единичного выбора
<div class="ml-radio">
<label class="ml-radio__label">
<input type="radio" class="ml-radio__input" checked="" name="group">
<span class="ml-radio__caption">CheckBox1</span>
</label>
</div>
<div class="ml-radio">
<label class="ml-radio__label">
<input type="radio" class="ml-radio__input" name="group">
<span class="ml-radio__caption">CheckBox2</span>
</label>
</div>
<div class="ml-radio">
<label class="ml-radio__label">
<input type="radio" class="ml-radio__input" checked="" disabled="" name="group2">
<span class="ml-radio__caption">CheckBox1</span>
</label>
</div>
<div class="ml-radio">
<label class="ml-radio__label">
<input type="radio" class="ml-radio__input" disabled="" name="group2">
<span class="ml-radio__caption">CheckBox2</span>
</label>
</div>
npm репозиторий - [https://www.npmjs.com/package/@megalabs/ml-radio] (https://www.npmjs.com/package/@megalabs/ml-radio)
Для установки пакета
- npm i @megalabs/ml-radio
- затем в папке @megalabs/ml-radio запускаем npm install
- npm start