Skip to content

TextPart

A text content part.

---
title: TextPart
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class ContentPart {
      <<abstract>>
        +string kind
    }
    ContentPart <|-- TextPart
    class TextPart {
        +string kind
        +string value
    }
value: Hello, world!
NameTypeDescription
kindstringThe kind identifier for text content
valuestringThe text content