mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 06:45:23 -04:00
11 lines
310 B
TypeScript
11 lines
310 B
TypeScript
import clsx from "clsx";
|
|
import type { ComponentPropsWithoutRef } from "react";
|
|
|
|
import styles from "./CodeInline.module.css";
|
|
|
|
const CodeInline = ({ className, ...rest }: ComponentPropsWithoutRef<"code">) => (
|
|
<code className={clsx(styles.codeInline, className)} {...rest} />
|
|
);
|
|
|
|
export default CodeInline;
|