Skip to main content

View as Markdown · AI documentation index

Function: Include()

Include(props): Element

Defined in: mdx/src/components/Include.tsx:14

Component for including another story passage within the current one.

Parameters​

props​

IncludeProps

Returns​

Element

Remarks​

WARNING: This is a compile-time-only component for MDX files. Do NOT use this component in regular React/TSX code. It only works in .mdx files and is transformed at compile time into core game components. Using it in React components will not work as expected.