@acrool/react-picker 1.1.1 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -35,20 +35,9 @@
35
35
  ## Install
36
36
 
37
37
  ```bash
38
- yarn add framer-motion @acrool/react-picker
38
+ yarn add @acrool/react-picker
39
39
  ```
40
40
 
41
- in your packages. (Make the version of styled-component you use match the version of styled-component used in acrool-react-gird)
42
-
43
- ```json
44
- {
45
- "resolutions": {
46
- "framer-motion": "^11.x"
47
- }
48
- }
49
- ```
50
-
51
-
52
41
  ## Usage
53
42
 
54
43
  add in your index.tsx
@@ -1,4 +1,4 @@
1
- import React, { ReactNode, RefObject } from 'react';
1
+ import { default as React, ReactNode, RefObject } from 'react';
2
2
  interface IProps {
3
3
  children: ReactNode;
4
4
  isDebug?: boolean;
@@ -1,4 +1,4 @@
1
- import React, { ReactNode } from 'react';
1
+ import { default as React, ReactNode } from 'react';
2
2
  import { IMotionOptions, IPickerOption } from '../types';
3
3
  interface IProps {
4
4
  pickerOptions?: IPickerOption;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { EVertical, IPosition } from './types';
3
3
  interface IContextProps<T = any> {
4
4
  hide: () => void;