Function KeywordsInCategory

  • Component for rendering keywords with category suggestion.

    Parameters

    Returns Element

    <KeywordsInCategory
    hit={firstKeyword}
    categoryField={categoryField}
    keywordComponent={<Keyword hit={firstKeyword} />}
    wrapperComponent={({ keywordComponent, filter }) => (
    <Element
    keywordComponent={keywordComponent}
    hit={firstKeyword}
    filter={filter}
    />
    )}
    keywordInCategoryComponent={keywordInCategoryComponent}
    />