| 1 |
/// <reference types="react" /> |
| 2 |
export interface CompassNavSearchProps extends Omit<React.HTMLProps<HTMLDivElement>, 'onClick'> { |
| 3 |
/** Content to display in the tooltip. Defaults to "Search". */ |
| 4 |
tooltipContent?: React.ReactNode; |
| 5 |
/** Click handler for the search button. */ |
| 6 |
onClick?: React.MouseEventHandler<HTMLButtonElement>; |
| 7 |
/** Additional classes added to the nav search wrapper. */ |
| 8 |
className?: string; |
| 9 |
/** Accessible label for the nav search. */ |
| 10 |
'aria-label'?: string; |
| 11 |
} |
| 12 |
export declare const CompassNavSearch: React.FunctionComponent<CompassNavSearchProps>; |
| 13 |
//# sourceMappingURL=CompassNavSearch.d.ts.map |