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