🎨 Fix TSLint errors
This commit is contained in:
parent
8b9516de72
commit
6d5d0df1c0
2 changed files with 13 additions and 13 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue