Repository URL to install this package:
|
Version:
2.1.0 ▾
|
import React from 'react';
import { PageBackgroundProps } from './typings';
declare class PageBackground extends React.PureComponent<PageBackgroundProps> {
static defaultProps: {
className: string;
mediaType: string;
src: string;
backgroundImage: string;
backgroundColor: string;
/**
* @todo
* isPageScroll -> shouldBeFixed
* position -> gradientPosition
*/
position: string;
isPageScroll: boolean;
renderImage: (item: PageBackgroundProps) => JSX.Element;
renderVideo: (item: PageBackgroundProps) => JSX.Element;
};
render(): JSX.Element;
}
export { PageBackground };
export default PageBackground;