CHANGED: README
ADDED: Labels for switch and radio component
This commit is contained in:
@@ -28,6 +28,13 @@ export default function Radios() {
|
||||
<Radio defaultChecked disabled />
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h2> With Label </h2>
|
||||
<form style={{ display: 'flex', gap: '2em' }}>
|
||||
<Radio> Label </Radio>
|
||||
<Radio defaultChecked> Label </Radio>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user