mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
9 lines
260 B
TypeScript
9 lines
260 B
TypeScript
import React, { PropsWithChildren } from "react";
|
|
|
|
export const Code: React.FC<PropsWithChildren> = ({ children }) => {
|
|
return (
|
|
<code className="tracking-wide font-mono bg-gray-200 dark:bg-gray-600 rounded-md px-1">
|
|
{children}
|
|
</code>
|
|
);
|
|
};
|