HomePaymentsNo-codeDevelopersContribute
Safepay Home PageLive DashboardTest Dashboard

Code


The CODE component is used to render inline code snippets within text content, highlighting code references or commands in a distinct visual style.

Usage

CODE Component Usage
import React from 'react';
import { CODE } from '~/ui/components/Text';

export default function App() {
  return (
    <div>
      <p>Use the <CODE>npm install</CODE> command to install dependencies.</p>
    </div>
  );
}

Rendered Example

Example: Use the npm install command to install dependencies.

Props

The CODE component accepts all standard HTML attributes for inline elements, providing flexibility for customization.