UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

29 lines (28 loc) 877 B
/** * @file index.tsx * * @fileoverview Shows a flat banner to use on landing pages. */ import React from 'react'; import { ColorProps, SpaceProps } from 'styled-system'; export declare const StyledFlatBanner: import("styled-components").StyledComponent<"div", any, any, never>; declare type BaseFlatBannerProps = ColorProps & SpaceProps; export interface FlatBannerProps extends BaseFlatBannerProps { /** * The content to show inside the banner. */ children: React.ReactNode; /** * The banner style (background color) */ flatbannerStyle?: 'primary' | 'secondary' | 'default'; /** * The current theme. */ theme?: any; } /** * This component provides a text with backgroud color. */ export declare const FlatBanner: ({ children, flatbannerStyle, ...props }: FlatBannerProps) => JSX.Element; export default FlatBanner;