UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

30 lines (29 loc) 1.09 kB
/** * NarrowTemplate module. * @module @massds/mayflower-react/NarrowTemplate * @requires module:@massds/mayflower-assets/scss/01-atoms/site-logo * @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'; import { SiteLogoProps } from '../SiteLogo'; export interface NarrowTemplateProps { /** Align the template to the right or to the left */ side?: "right" | "left"; /** Secondary color is yellow or green */ color?: "yellow" | "green"; siteLogo?(...args: unknown[]): unknown; /** The domain you want to send users to from the site logo icon */ siteLogoDomain?: SiteLogoProps; children?: React.ReactNode; } declare const NarrowTemplate: { (narrowTemplate: NarrowTemplateProps): any; defaultProps: { side: string; color: string; }; }; export default NarrowTemplate;