Skip to content

Commit

Permalink
renamed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyan Zhang committed Jul 28, 2016
1 parent 63a5125 commit c2c567e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

const React = require('React');

const YellowBoxMessage = require('ReactDOMYellowBoxMessage');
const ReactDOMYellowBoxMessage = require('ReactDOMYellowBoxMessage');

import type {Format, Instance, Milliseconds, InstanceInfo} from 'reactShowWarningDOM';

Expand All @@ -31,7 +31,7 @@ const ReactDOMYellowBoxDialogBody = ({data, onSnoozeByType, onSnoozeByInstance}:
}) => (
<div style={styles.root}>
{data.map(({instance, format}) =>
<YellowBoxMessage
<ReactDOMYellowBoxMessage
key={instance}
onSnoozeByType={onSnoozeByType(format)}
onSnoozeByInstance={onSnoozeByInstance(instance)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

const React = require('React');

const YellowBoxDialogHeader = require('ReactDOMYellowBoxDialogHeader');
const YellowBoxDialogBody = require('ReactDOMYellowBoxDialogBody');
const ReactDOMYellowBoxDialogHeader = require('ReactDOMYellowBoxDialogHeader');
const ReactDOMYellowBoxDialogBody = require('ReactDOMYellowBoxDialogBody');

import type {Format, Instance, Milliseconds, InstanceInfo} from 'reactShowWarningDOM';

Expand Down Expand Up @@ -58,8 +58,8 @@ const ReactDOMYellowBoxRoot = ({data, onIgnoreAll, onSnoozeByType, onSnoozeByIns
}) => (
<div style={styles.root}>
<div style={styles.dialogRoot}>
<YellowBoxDialogHeader onIgnoreAll={onIgnoreAll} />
<YellowBoxDialogBody
<ReactDOMYellowBoxDialogHeader onIgnoreAll={onIgnoreAll} />
<ReactDOMYellowBoxDialogBody
data={data}
onSnoozeByType={onSnoozeByType}
onSnoozeByInstance={onSnoozeByInstance}
Expand Down

0 comments on commit c2c567e

Please sign in to comment.