UNPKG

analytica-frontend-lib

Version:

Repositório público dos componentes utilizados nas plataformas da Analytica Ensino

35 lines 1.08 kB
export interface NoSearchResultProps { /** * Image source for the illustration */ image: string; /** * Title text to display * @default "Nenhum resultado encontrado" */ title?: string; /** * Description text to display below the title * @default "Não encontramos nenhum resultado com esse nome. Tente revisar a busca ou usar outra palavra-chave." */ description?: string; } /** * Component displayed when no search results are found * Shows an illustration with customizable title and description in horizontal layout * * @example * ```tsx * import { NoSearchResult } from 'analytica-frontend-lib'; * import noSearchImage from './assets/no-search.png'; * * <NoSearchResult * image={noSearchImage} * title="Nenhum resultado encontrado" * description="Tente usar outros filtros" * /> * ``` */ declare const NoSearchResult: ({ image, title, description }: NoSearchResultProps) => import("react/jsx-runtime").JSX.Element; export default NoSearchResult; //# sourceMappingURL=NoSearchResult.d.ts.map