1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-22 21:14:18 +00:00
pds-2021-g2-nest/code/frontend/src/components/Checkbox.js

13 lines
332 B
JavaScript
Raw Normal View History

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