UNPKG

645 BTypeScriptView Raw
1import * as React from 'react';
2export interface BackgroundImageSrcMap {
3 xs: string;
4 xs2x: string;
5 sm: string;
6 sm2x: string;
7 lg: string;
8}
9export interface BackgroundImageProps extends Omit<React.HTMLProps<HTMLDivElement>, 'src'> {
10 /** Additional classes added to the background. */
11 className?: string;
12 /** Override svg filter to use */
13 filter?: React.ReactElement;
14 /** Override image styles using a string or BackgroundImageSrc */
15 src: string | BackgroundImageSrcMap;
16}
17export declare const BackgroundImage: React.FunctionComponent<BackgroundImageProps>;
18//# sourceMappingURL=BackgroundImage.d.ts.map
\No newline at end of file