10 lines
218 B
TypeScript
10 lines
218 B
TypeScript
|
import styles from "../styles.module.css";
|
||
|
|
||
|
type CodeProps = {
|
||
|
children: React.ReactNode;
|
||
|
};
|
||
|
|
||
|
export default function Code({ children }: CodeProps) {
|
||
|
return <code className={styles.inlineCode}>{children}</code>;
|
||
|
}
|