@coveo/headless-react
    Preparing search index...

    Interface GeneratedAnswerActionCreators

    The generated answer action creators.

    interface GeneratedAnswerActionCreators {
        resetAnswer(): { payload: void; type: string };
    }
    Index

    Methods

    Methods

    • Resets the generated answer state to a clean slate.

      Returns { payload: void; type: string }

      A dispatchable action.