MinJieLiu 7 سال پیش
والد
کامیت
84c338c205
3فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      examples/simple.tsx
  2. 1 1
      package.json
  3. 0 0
      src/index.ts

+ 1 - 1
examples/simple.tsx

@@ -1,7 +1,7 @@
 import React from 'react';
 import ReactDOM from 'react-dom';
 import styled from 'styled-components';
-import { PhotoProvider, PhotoConsumer } from '../src';
+import { PhotoProvider, PhotoConsumer } from '../src/index';
 
 const Container = styled.div`
   font-size: 32px;

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "react-photo-view",
-  "version": "0.1.0",
+  "version": "0.1.1",
   "description": "React photo preview",
   "keywords": [
     "react",

+ 0 - 0
src/index.tsx → src/index.ts