Skip to content

Commit

Permalink
Example: Local Package Import - Support Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanselzer committed Oct 23, 2018
1 parent ef4dd98 commit feb913b
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 9 deletions.
1 change: 1 addition & 0 deletions example/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NODE_PATH=../dist/
1 change: 0 additions & 1 deletion example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ build

# misc
.DS_Store
.env
npm-debug.log
2 changes: 1 addition & 1 deletion example/src/components/Basic.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component } from 'react';
import ReactImageMagnify from '../pkg-lnk/ReactImageMagnify';
import ReactImageMagnify from 'ReactImageMagnify';
import SpacedSpan from '../components/SpacedSpan';

import '../styles/examples.css';
Expand Down
2 changes: 1 addition & 1 deletion example/src/components/EnlargedImageContainerDimensions.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component } from 'react';
import ReactImageMagnify from '../pkg-lnk/ReactImageMagnify';
import ReactImageMagnify from 'ReactImageMagnify';
import SpacedSpan from '../components/SpacedSpan';

import '../styles/examples.css';
Expand Down
2 changes: 1 addition & 1 deletion example/src/components/FixedWidthSmallImage.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component } from 'react';
import ReactImageMagnify from '../pkg-lnk/ReactImageMagnify';
import ReactImageMagnify from 'ReactImageMagnify';

import '../styles/app.css';

Expand Down
2 changes: 1 addition & 1 deletion example/src/components/Hint.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component } from 'react';
import ReactImageMagnify from '../pkg-lnk/ReactImageMagnify';
import ReactImageMagnify from 'ReactImageMagnify';
import SpacedSpan from '../components/SpacedSpan';

import '../styles/examples.css';
Expand Down
2 changes: 1 addition & 1 deletion example/src/components/Lens.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component } from 'react';
import ReactImageMagnify from '../pkg-lnk/ReactImageMagnify';
import ReactImageMagnify from 'ReactImageMagnify';
import SpacedSpan from '../components/SpacedSpan';

import '../styles/examples.css';
Expand Down
2 changes: 1 addition & 1 deletion example/src/components/ReactSlick.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component } from 'react';
import ReactImageMagnify from '../pkg-lnk/ReactImageMagnify';
import ReactImageMagnify from 'ReactImageMagnify';
import ReactSlick from 'react-slick';

import '../styles/react-slick.css';
Expand Down
2 changes: 1 addition & 1 deletion example/src/components/ResponsiveImages.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component } from 'react';
import ReactImageMagnify from '../pkg-lnk/ReactImageMagnify';
import ReactImageMagnify from 'ReactImageMagnify';
import SpacedSpan from '../components/SpacedSpan';

import '../styles/app.css';
Expand Down
1 change: 0 additions & 1 deletion example/src/pkg-lnk

This file was deleted.

0 comments on commit feb913b

Please sign in to comment.