import * as React from 'react'; import dynamicReact from '@markdoc/markdoc/dist/react'; import { Link } from '@redocly/theme/components/Link/Link'; export interface XRPLCardProps { title: string, href: string, body?: string, image?: string, imageAlt?: string, external: boolean, } export function XRPLCard(props: XRPLCardProps) { return (
{ props.image && (
{props.imageAlt}
)}

{props.title}

{ props.body && (

{props.body}

)}
{/*
 
*/} ) } export function CardGrid(props) { const gridClass = `card-grid card-grid-${props.layout}` return (
{dynamicReact(props.children, React, {})}
) }