1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-26 06:54:18 +00:00
pds-2021-g2-nest/code/frontend/src/components/Radio.js

13 lines
320 B
JavaScript
Raw Normal View History

2021-04-22 16:38:08 +00:00
import React from "react"
import Style from "./Radio.module.css"
import classNames from "classnames"
export default function Radio({ children, className, ...props }) {
return (
<input type={"radio"} className={classNames(Style.Radio, className)} {...props}>
{children}
</input>
)
}