| 26 | type PheliaChildren = PheliaChild | PheliaChild[]; |
| 27 | |
| 28 | interface TextProps { |
| 29 | /** The content of the text component */ |
| 30 | children: React.ReactText | React.ReactText[]; |
| 31 | /** |
| 32 | * Indicates whether emojis in a text field should be escaped into the colon emoji format. |
| 33 | * This field is only usable when type is plain_text. |
| 34 | */ |
| 35 | emoji?: boolean; |
| 36 | /** The formatting to use for this text object. */ |
| 37 | type: "plain_text" | "mrkdwn"; |
| 38 | /** |
| 39 | * When set to false (as is default) URLs will be auto-converted into links, |
| 40 | * conversation names will be link-ified, and certain mentions will be automatically |
| 41 | * parsed. Using a value of true will skip any preprocessing of this nature, although |
| 42 | * you can still include manual parsing strings. This field is only usable when type is |
| 43 | * mrkdwn. |
| 44 | */ |
| 45 | verbatim?: boolean; |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * An component containing some text, formatted either as plain_text or using mrkdwn, |
nothing calls this directly
no outgoing calls
no test coverage detected