Loading...
Trixta action related components can be found here.
React component used to pass Trixta Action Response Props to your child component or function.
import { TrixtaActionResponseComponent, TrixtaActionResponseComponentArgs } from '@trixtateam/trixta-js-core'; <TrixtaActionResponseComponent roleName="" actionName="" debugMode={false} > {({ instance, response, }: TrixtaActionResponseComponentArgs< TSuccessType,TErrorType >) => ( {function | <component />} )} </TrixtaActionResponseComponent>
React component used to pass Trixta Action Props to your child component or function.
import { TrixtaActionComponent, TrixtaActionComponentArgs } from '@trixtateam/trixta-js-core'; <TrixtaActionComponent roleName="" actionName="" initialData={} extraData={} debugOptions={} debugMode={false} requestEvent="" responseEvent="" errorEvent="" timeoutEvent="" timeout={1500} setTimeoutEventAsErrorEvent={false} actionOptions={} > {({ submit, isInProgress, instances, response, initialData, }: TrixtaActionComponentArgs< TFormDataType,TSuccessType,TErrorType >) => ( {function | <component />} )} </TrixtaActionComponent>