fix imports
Summary: Incorrect imports were causing an error: `invariant is not a function`. This fixes the imports. Reviewed By: jknoxville, priteshrnandgaonkar Differential Revision: D13859945 fbshipit-source-id: 2a5f5f87b4df2840c8e6b749acb293b145805afa
This commit is contained in:
committed by
Facebook Github Bot
parent
921414d3e3
commit
26266bc607
@@ -14,8 +14,8 @@ import {
|
|||||||
SNAP_SIZE,
|
SNAP_SIZE,
|
||||||
} from '../../utils/snap.js';
|
} from '../../utils/snap.js';
|
||||||
import styled from '../styled/index.js';
|
import styled from '../styled/index.js';
|
||||||
import * as invariant from 'invariant';
|
import invariant from 'invariant';
|
||||||
import * as React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
const WINDOW_CURSOR_BOUNDARY = 5;
|
const WINDOW_CURSOR_BOUNDARY = 5;
|
||||||
|
|
||||||
@@ -70,7 +70,7 @@ type InteractiveProps = {|
|
|||||||
innerRef?: (elem: HTMLElement) => void,
|
innerRef?: (elem: HTMLElement) => void,
|
||||||
style?: Object,
|
style?: Object,
|
||||||
className?: string,
|
className?: string,
|
||||||
children?: React.Element<*>,
|
children?: React$Element<*>,
|
||||||
|};
|
|};
|
||||||
|
|
||||||
type InteractiveState = {|
|
type InteractiveState = {|
|
||||||
|
|||||||
Reference in New Issue
Block a user