Skip to main content

View as Markdown · AI documentation index

Function: Action()

Action(props): Element

Defined in: mdx/src/components/Actions/Action.tsx:18

Action button component for MDX stories.

Parameters​

props​

ActionProps

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.