import classNames from "classnames" ; import * as React from "react" ; import { Classes , Intent , Props } from "@blueprintjs/core" ; export interface IBannerProps extends Props { /** Link URL. */ href : string ; default intent ? : Intent ; } /**
 * Render `Banner` before `Documentation` for a full-width colored banner link across the top of the page.
 * Use this to alert users to make changes or new pages.
 */ export class Banner extends React . PureComponent < IBannerProps > { public render ( ) { const { children , className , href , intent = Intent . PRIMARY } = this . props ; const classes = classNames ( "docs-banner" , Classes . intentClass ( intent ) , className ) ; return ( < a className = { classes } href = { href } target = "_blank" > { children } < /a>); } }