From d87b33ffdb3fc9c8ffa93cda2b0fbe06bfa7ca9c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi <256895@studenti.unimore.it> Date: Thu, 22 Apr 2021 18:38:08 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20Radio=20component?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/frontend/src/components/Radio.js | 12 ++++++++++++ code/frontend/src/components/Radio.module.css | 4 ++++ 2 files changed, 16 insertions(+) create mode 100644 code/frontend/src/components/Radio.js create mode 100644 code/frontend/src/components/Radio.module.css diff --git a/code/frontend/src/components/Radio.js b/code/frontend/src/components/Radio.js new file mode 100644 index 0000000..dd6b5b2 --- /dev/null +++ b/code/frontend/src/components/Radio.js @@ -0,0 +1,12 @@ +import React from "react" +import Style from "./Radio.module.css" +import classNames from "classnames" + + +export default function Radio({ children, className, ...props }) { + return ( + + {children} + + ) +} diff --git a/code/frontend/src/components/Radio.module.css b/code/frontend/src/components/Radio.module.css new file mode 100644 index 0000000..3e30662 --- /dev/null +++ b/code/frontend/src/components/Radio.module.css @@ -0,0 +1,4 @@ +.Radio { + height: 25px; + width: 25px; +}