@dabapps/roe
Version:
A collection of React components, styles, mixins, and atomic CSS classes to aid with the development of web applications.
17 lines (16 loc) • 687 B
TypeScript
import * as React from 'react';
import { OptionalComponentPropAndHTMLAttributes } from '../../types';
export declare type BannerProps = {
/**
* If set, displays the component, otherwise it is hidden
* @default true
*/
open?: boolean;
/**
* Positions the element at the 'top' or 'bottom' of the screen
* @default 'bottom'
*/
position?: 'top' | 'bottom';
} & OptionalComponentPropAndHTMLAttributes;
declare const _default: React.MemoExoticComponent<(props: BannerProps) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>>;
export default _default;