---
import type { RichText } from '../../../lib/interfaces.ts'

export interface Props {
  richText: RichText
}

const { richText } = Astro.props
---

{
  /* prettier-ignore */
  richText.Annotation.Strikethrough ? (
    <s><slot /></s>
  ) : (
    <slot />
  )
}
