Skip to content
العربية
Text

Prose

Styles rich text (privacy pages, case studies): headings, lists, links, code.

import { Prose } from "@percentsa/ui";

Examples

What we collect

We keep only what you send through the form. Read your rights.

  • Name and email
  • Your message
Code
export function ProseExample() {
  const t = useT();
  return (
    <Prose>
      <h2>{t("What we collect", "ما نجمعه")}</h2>
      <p>
        {t("We keep only what you send through the form. Read ", "نحتفظ فقط بما ترسله عبر النموذج. اقرأ ")}
        <a href="#rights">{t("your rights", "حقوقك")}</a>.
      </p>
      <ul>
        <li>{t("Name and email", "الاسم والبريد الإلكتروني")}</li>
        <li>{t("Your message", "رسالتك")}</li>
      </ul>
    </Prose>
  );
}