2024-01-25 22:43:42 +03:00
|
|
|
import React from 'react';
|
|
|
|
import { Radio } from '../../src/primitive-components/material-you-components';
|
|
|
|
|
|
|
|
export default function Radios() {
|
|
|
|
return (
|
|
|
|
<div className={"m3 m3-wrapper"}>
|
|
|
|
<h1> Radio </h1>
|
2024-01-30 22:52:06 +03:00
|
|
|
<div style={{display: "flex", flexDirection: "row", width: "100%", gap: "5em", justifyContent:"center"}}>
|
2024-01-25 22:43:42 +03:00
|
|
|
<div>
|
|
|
|
<h2> Default </h2>
|
|
|
|
<div style={{display: "flex", gap: "2em"}}>
|
2024-01-30 11:33:19 +03:00
|
|
|
<Radio centralRipple/>
|
2024-01-25 22:43:42 +03:00
|
|
|
<Radio defaultChecked/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<h2> Disabled </h2>
|
|
|
|
<div style={{display: "flex", gap: "2em"}}>
|
|
|
|
<Radio disabled/>
|
|
|
|
<Radio disabled defaultChecked/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|