mfg-ui-components
Version:
React UI library with reusable components
18 lines (17 loc) • 650 B
TypeScript
import React from 'react';
import './Banner.scss';
export type Size = "half" | 'full' | 'oneTherd';
export type Overlay = 'lightOverlay' | 'darkOverlay' | 'darkerOverlay' | 'noOverlay';
export interface Props {
bannerClass?: string;
bannerId?: any;
bannerSize: Size;
bannerImage: any;
alterText: string;
children?: any;
bannerOverlay?: Overlay;
style?: React.CSSProperties;
childStyle?: React.CSSProperties;
}
declare const Banner: ({ bannerClass, bannerId, bannerSize, bannerImage, alterText, children, bannerOverlay, style, childStyle }: Props) => import("react/jsx-runtime").JSX.Element;
export default Banner;