mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-04 02:04:06 +00:00
16 lines
429 B
TypeScript
16 lines
429 B
TypeScript
import type { ReactNode } from "react";
|
|
|
|
interface SlackInlineCodeProps {
|
|
children: ReactNode;
|
|
}
|
|
|
|
/**
|
|
* A Slack identifier — a channel name, the bot mention, a slash command — set
|
|
* apart from the prose around it.
|
|
*/
|
|
export const SlackInlineCode = ({ children }: SlackInlineCodeProps) => (
|
|
<code className="bg-bg-neutral-tertiary text-text-neutral-secondary rounded px-1 py-0.5 font-mono">
|
|
{children}
|
|
</code>
|
|
);
|