mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-30 21:01:54 +08:00
- restricted users - onboarding app - waitlist app - fixed an exception when setting primary email - automatically update the JWT token on the client when the user object changes
13 lines
357 B
TypeScript
13 lines
357 B
TypeScript
import { cn } from "@/components/ui";
|
|
|
|
export function InlineCode(props: { children: React.ReactNode, className?: string }) {
|
|
return (
|
|
<span className={cn(
|
|
"bg-gray-100 dark:bg-gray-800 px-1 py-0.5 border border-gray-200 dark:border-gray-700 rounded-md font-mono text-sm",
|
|
props.className
|
|
)}>
|
|
{props.children}
|
|
</span>
|
|
);
|
|
}
|