UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

28 lines (27 loc) 1.06 kB
/** * GenTeaserSearch module. * @module @massds/mayflower-react/GenTeaserSearch * @requires module:@massds/mayflower-assets/scss/01-atoms/button-with-icon * @requires module:@massds/mayflower-assets/scss/01-atoms/button-search * @requires module:@massds/mayflower-assets/scss/01-atoms/input-typeahead * @requires module:@massds/mayflower-assets/scss/01-atoms/svg-icons * @requires module:@massds/mayflower-assets/scss/01-atoms/svg-loc-icons */ import React from 'react'; export interface GenTeaserSearchProps { /** The target url of the search bar */ target: string; /** The id of the search bar */ id: string; /** The query input variable to replace in the target url with the user entered term */ queryInput: string; /** Placeholder text of the search bar. */ placeholder: string; } declare class GenTeaserSearch extends React.Component<GenTeaserSearchProps> { constructor(props: any); onClick: (e: any) => void; redirect: (searchURL: any) => void; render(): any; } export default GenTeaserSearch;