🎨 Fix TSLint errors

This commit is contained in:
Daniel Gasienica 2018-04-15 02:53:19 -04:00
parent 8b9516de72
commit 6d5d0df1c0
2 changed files with 13 additions and 13 deletions

View file

@ -57,14 +57,14 @@ const IconButton = ({ onClick, type }: IconButtonProps) => (
);
export class Lightbox extends React.Component<Props, {}> {
private containerRef: HTMLDivElement | null = null;
public static defaultProps: Partial<Props> = {
shouldShowNextButton: false,
shouldShowPreviousButton: false,
shouldShowSaveAsButton: false,
};
private containerRef: HTMLDivElement | null = null;
public componentDidMount() {
const useCapture = true;
document.addEventListener('keyup', this.onKeyUp, useCapture);