UNPKG

@cbinsights/fds

Version:
13 lines (12 loc) 580 B
import React from 'react'; import { SmartInputProps } from '../SmartInput'; export interface HeaderProps { onAdvancedSearchClick: React.MouseEventHandler<HTMLButtonElement>; onSearchClick: React.MouseEventHandler<HTMLButtonElement>; showLogo: boolean; logoImg: string; Link?: React.ComponentType; smartInputProps: SmartInputProps; } export declare const Header: ({ onAdvancedSearchClick, onSearchClick, showLogo, logoImg, Link, smartInputProps: { isClearable, styles, selectRef, ...smartInputProps }, }: HeaderProps) => JSX.Element; export default Header;