Can be done, have to do it a bit hacky way. Here is how it can be done.
const RadioExampleRadio = () => (
<div class="radio-block">
{" "}
<label className="radio-label">Radio Label</label>
<Radio />
</div>
);
Have to add some css to make it look better
.radio-block{
display: flex;
align-items: center;
}
.radio-label{
margin-right: 10px;
}
From semantic's documentation, there doesn't seem to be any comment on changing the position of the label on the radio button. It can be done this way though.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.