mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-30 23:34:27 +00:00
fix(ui): apply Slack integration design feedback (#12677)
This commit is contained in:
1 parent
6422178b76
commit
ceb601028e
23 files changed
+614
-127
No files matched your search
@@ -0,0 +1,15 @@
|
||||
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>
|
||||
);
|
||||
Reference in new issue
Block a user