Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 724 Bytes

search-ui-react.directanswer.md

File metadata and controls

26 lines (15 loc) · 724 Bytes

Home > @yext/search-ui-react > DirectAnswer

DirectAnswer() function

Renders Direct Answers provided by the Search API.

Signature:

declare function DirectAnswer({ customCssClasses, UnknownFieldTypeDisplay }: DirectAnswerProps): JSX.Element | null;

Parameters

Parameter Type Description
{ customCssClasses, UnknownFieldTypeDisplay } DirectAnswerProps

Returns:

JSX.Element | null

A react element for DirectAnswer