1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-05-15 21:14:24 -04:00
Files
jarv.is/components/CodeInline/CodeInline.tsx
T
2025-03-12 18:10:11 -04:00

13 lines
358 B
TypeScript

import clsx from "clsx";
import type { ComponentPropsWithoutRef } from "react";
import styles from "./CodeInline.module.css";
export type CodeInlineProps = ComponentPropsWithoutRef<"code">;
const CodeInline = ({ className, ...rest }: CodeInlineProps) => (
<code className={clsx(styles.codeInline, className)} {...rest} />
);
export default CodeInline;