Migrate to Next
This commit is contained in:
10
components/Label.js
Normal file
10
components/Label.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import React from "react";
|
||||
import styles from "./Label.module.css";
|
||||
|
||||
export default function Label({ id, children }) {
|
||||
return (
|
||||
<label className={styles.block} htmlFor={id}>
|
||||
{children}
|
||||
</label>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user