Skip to content

Commit 9293459

Browse files
committed
fix: fix import path and some file name
1 parent df20482 commit 9293459

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/fullscreen/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as React from 'react'
22
import { Button } from 'antd'
33

44
import MyIcon from './icon';
5-
import KeyEventListener from '../KeyEventListener';
5+
import KeyEventListener from '../keyEventListener';
66

77
const { KeyCombiner } = KeyEventListener
88
declare var document: any;

src/stories/keyCombiner.stories.tsx renamed to src/stories/keyEventListener.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react';
22
import { storiesOf } from '@storybook/react';
3-
import KeyEventListener from '../components/KeyEventListener';
3+
import KeyEventListener from '../components/keyEventListener';
44
import { PropsTable } from './components/propsTable';
55
import './style';
66

@@ -34,7 +34,7 @@ const keyListenerPropDefinitions = [{
3434
defaultValue: ''
3535
}]
3636

37-
const stories = storiesOf('KeyCombiner 键盘监听', module);
37+
const stories = storiesOf('KeyEventListener 键盘监听', module);
3838
// keyCombiner
3939
stories.add('keyCombiner', () => {
4040
const keyAction = (evt: any) => {

0 commit comments

Comments
 (0)