Skip to main content

Function: Actions()

Actions(props): Element

Defined in: mdx/src/components/Actions/Actions.tsx:19

Container for action buttons in MDX stories.

Parameters

props

Readonly<{ children: (props) => Element | (props) => Element[]; }> & object

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.