react-instantsearch
Version:
⚡ Lightning-fast search for React, by Algolia
8 lines (7 loc) • 447 B
TypeScript
import React from 'react';
import type { HighlightProps as InternalHighlightProps, HighlightClassNames as InternalHighlightClassNames } from 'instantsearch-ui-components';
export type SnippetClassNames = InternalHighlightClassNames;
export type SnippetProps = Omit<InternalHighlightProps, 'classNames'> & {
classNames?: Partial<SnippetClassNames>;
};
export declare function Snippet({ classNames, ...props }: SnippetProps): React.JSX.Element;