mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-04-29 15:37:48 +00:00
12 lines
301 B
TypeScript
12 lines
301 B
TypeScript
// Component for {% code-page-name /%} Markdoc tag.
|
|
// Returns the current page title in monospace (code) font.
|
|
// Useful in includes / templates that may be reused across pages.
|
|
|
|
export default function CodePageName(props: {
|
|
name: string
|
|
}) {
|
|
return (
|
|
<code>{props.name}</code>
|
|
)
|
|
}
|