Skip to content

Commit d849c9b

Browse files
committed
Reorganize exports
1 parent 5bae926 commit d849c9b

File tree

13 files changed

+18
-17
lines changed

13 files changed

+18
-17
lines changed

__tests__/jest/components/nodeImpl/Svg.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable global-require */
22
import * as React from 'react';
33

4-
import ReactSketch from '../../../../src';
4+
import * as ReactSketch from '../../../../src';
55
import Svg from '../../../../src/components/Svg';
66

77
jest.mock('../../../../src/jsonUtils/models', () => ({
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/components/Artboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react';
22
import * as PropTypes from 'prop-types';
33
import { or } from 'airbnb-prop-types';
4-
import StyleSheet from '../stylesheet';
4+
import StyleSheet from '../StyleSheet';
55
import ViewStylePropTypes from './ViewStylePropTypes';
66

77
const ViewportPropTypes = {

src/components/Image.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react';
22
import * as PropTypes from 'prop-types';
33
import { or } from 'airbnb-prop-types';
4-
import StyleSheet from '../stylesheet';
4+
import StyleSheet from '../StyleSheet';
55
import ResizeModePropTypes from './ResizeModePropTypes';
66
import ImageStylePropTypes from './ImageStylePropTypes';
77
import { ViewPropTypes } from './View';

src/components/Page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react';
22
import * as PropTypes from 'prop-types';
33
import { or } from 'airbnb-prop-types';
4-
import StyleSheet from '../stylesheet';
4+
import StyleSheet from '../StyleSheet';
55
import PageStylePropTypes from './PageStylePropTypes';
66

77
export const PagePropTypes = {

src/components/Svg/Svg.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react';
22
import * as PropTypes from 'prop-types';
33
import { ViewPropTypes } from '../View';
4-
import StyleSheet from '../../stylesheet';
4+
import StyleSheet from '../../StyleSheet';
55
import Circle from './Circle';
66
import ClipPath from './ClipPath';
77
import Defs from './Defs';

src/components/Text.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react';
22
import * as PropTypes from 'prop-types';
33
import { or } from 'airbnb-prop-types';
4-
import StyleSheet from '../stylesheet';
4+
import StyleSheet from '../StyleSheet';
55
import TextStylePropTypes from './TextStylePropTypes';
66
import { ViewPropTypes } from './View';
77

src/components/View.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react';
22
import * as PropTypes from 'prop-types';
33
import { or } from 'airbnb-prop-types';
4-
import StyleSheet from '../stylesheet';
4+
import StyleSheet from '../StyleSheet';
55
import ViewStylePropTypes from './ViewStylePropTypes';
66
import ResizingConstraintPropTypes from './ResizingConstraintPropTypes';
77
import ShadowsPropTypes from './ShadowsPropTypes';

0 commit comments

Comments
 (0)