@dabapps/roe
Version:
A Collection of React Components for Project Development
20 lines (19 loc) • 690 B
TypeScript
/// <reference types="react" />
import { HTMLProps, PureComponent } from 'react';
import { ComponentProps } from '../../types';
export interface FooterProps extends ComponentProps, HTMLProps<HTMLElement> {
/**
* Fix the footer to the bottom of the window when there is not enough content to push it down.
*/
sticky?: boolean;
}
export declare class Footer extends PureComponent<FooterProps, {}> {
componentDidMount(): void;
componentWillUpdate(nextProps: FooterProps): void;
componentWillUnmount(): void;
render(): JSX.Element;
private notifyAppRoot(props);
private updateAppRoot;
private toggleResizeListeners(props);
}
export default Footer;