Skip to content

Commit

Permalink
Dropping unused FocusTrap
Browse files Browse the repository at this point in the history
  • Loading branch information
opichals committed Aug 4, 2016
1 parent c977900 commit 6aa5b3e
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 50 deletions.
2 changes: 1 addition & 1 deletion examples/master/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {HotKeys, HotKeyMapMixin} from 'react-hotkeys';
import React from 'react';
import ReactDOM from 'react-dom';
import rand from 'lodash/number/random';
import rand from 'lodash/random';

const DEFAULT_NODE_SIZE = 100;
const SIZE_INCREMENT = 5;
Expand Down
34 changes: 0 additions & 34 deletions lib/FocusTrap.js

This file was deleted.

1 change: 0 additions & 1 deletion lib/FocusTrapHOC.js

This file was deleted.

1 change: 0 additions & 1 deletion lib/HotKeys.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import ReactDOM from 'react-dom';
import FocusTrap from './FocusTrap';
import HotKeyMapMixin from './HotKeyMapMixin';
import isBool from 'lodash/isBoolean';
import isArray from 'lodash/isArray';
Expand Down
11 changes: 0 additions & 11 deletions lib/__tests__/FocusTrap-test.js

This file was deleted.

3 changes: 1 addition & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export {default as HotKeys} from './HotKeys';
export {default as FocusTrap} from './FocusTrap';
export {default as HotKeyMapMixin} from './HotKeyMapMixin';
export {default as HotKeyMapMixin} from './HotKeyMapMixin';

0 comments on commit 6aa5b3e

Please sign in to comment.