DynamicActionOptions:
    | undefined
    | { action: Action<HTMLElement, unknown>; data?: unknown }

Options for dynamicAction. Provide the hosted action and any associated data that is passed to the action. You may update the action or data dynamically to apply new actions.