> For the complete documentation index, see [llms.txt](https://trixtateam.gitbook.io/trixta-js-core/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trixtateam.gitbook.io/trixta-js-core/reference/components/actions/trixtaactionresponsecomponent.md).

# TrixtaActionResponseComponent

React component used to pass Trixta Action Response Props to your child component or function.

```tsx
import {
  TrixtaActionResponseComponent,
  TrixtaActionResponseComponentArgs
} from '@trixtateam/trixta-js-core';

<TrixtaActionResponseComponent
  roleName=""
  actionName=""
  debugMode={false}
>
  {({
    instance,
    response,
  }: TrixtaActionResponseComponentArgs<
    TSuccessType,TErrorType
  >) => (
    {function | <component />}
  )}
</TrixtaActionResponseComponent>
```

## [Props](https://github.com/trixtateam/trixta-js/blob/master/packages/core/src/React/components/actions/TrixtaActionResponseComponent/types.ts)
