From: Ajay Bura Date: Thu, 23 Dec 2021 11:39:09 +0000 (+0530) Subject: Add RadioButton component X-Git-Tag: v1.7.0~87 X-Git-Url: https://git.wafflesoft.org/?a=commitdiff_plain;h=ea5b63af18bafd88184547fb71c84f66bff3ae26;p=rainny.git Add RadioButton component Signed-off-by: Ajay Bura --- diff --git a/src/app/atoms/button/RadioButton.jsx b/src/app/atoms/button/RadioButton.jsx new file mode 100644 index 0000000..b10e0cf --- /dev/null +++ b/src/app/atoms/button/RadioButton.jsx @@ -0,0 +1,25 @@ +import React from 'react'; +import PropTypes from 'prop-types'; +import './RadioButton.scss'; + +function RadioButton({ isActive, onToggle }) { + return ( + // eslint-disable-next-line jsx-a11y/control-has-associated-label +