framer-motion 2.1.4 → 2.2.0
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/CHANGELOG.md +7 -0
- package/dist/framer-motion.api.json +454 -4
- package/dist/framer-motion.cjs.js +332 -284
- package/dist/framer-motion.d.ts +76 -24
- package/dist/framer-motion.dev.js +332 -284
- package/dist/framer-motion.es.js +329 -286
- package/dist/framer-motion.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Framer Motion adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
|
|
5
|
+
## [2.2.0] 2020-07-27
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- `m` component is a lightweight, featureless version of the `motion` component.
|
|
10
|
+
- `MotionConfig` is used to dynamically provide features to `m` components via context.
|
|
11
|
+
|
|
5
12
|
## [2.1.4] 2020-07-24
|
|
6
13
|
|
|
7
14
|
### Added
|
|
@@ -13,6 +13,30 @@
|
|
|
13
13
|
"kind": "EntryPoint",
|
|
14
14
|
"name": "",
|
|
15
15
|
"members": [
|
|
16
|
+
{
|
|
17
|
+
"kind": "Variable",
|
|
18
|
+
"docComment": "/**\n * @public\n */\n",
|
|
19
|
+
"excerptTokens": [
|
|
20
|
+
{
|
|
21
|
+
"kind": "Reference",
|
|
22
|
+
"text": "AnimateLayout"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"kind": "Content",
|
|
26
|
+
"text": ": "
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"kind": "Reference",
|
|
30
|
+
"text": "MotionFeature"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"releaseTag": "Public",
|
|
34
|
+
"name": "AnimateLayoutFeature",
|
|
35
|
+
"variableTypeTokenRange": {
|
|
36
|
+
"startIndex": 2,
|
|
37
|
+
"endIndex": 3
|
|
38
|
+
}
|
|
39
|
+
},
|
|
16
40
|
{
|
|
17
41
|
"kind": "Variable",
|
|
18
42
|
"docComment": "/**\n * `AnimatePresence` enables the animation of components that have been removed from the tree.\n *\n * When adding/removing more than a single child, every child **must** be given a unique `key` prop.\n *\n * @library\n *\n * Any `Frame` components that have an `exit` property defined will animate out when removed from the tree.\n * ```jsx\n * import { Frame, AnimatePresence } from 'framer'\n *\n * // As items are added and removed from `items`\n * export function Items({ items }) {\n * return (\n * <AnimatePresence>\n * {items.map(item => (\n * <Frame\n * key={item.id}\n * initial={{ opacity: 0 }}\n * animate={{ opacity: 1 }}\n * exit={{ opacity: 0 }}\n * />\n * ))}\n * </AnimatePresence>\n * )\n * }\n * ```\n *\n * You can sequence exit animations throughout a tree using variants.\n *\n * @motion\n *\n * Any `motion` components that have an `exit` property defined will animate out when removed from the tree.\n * ```jsx\n * import { motion, AnimatePresence } from 'framer-motion'\n *\n * export const Items = ({ items }) => (\n * <AnimatePresence>\n * {items.map(item => (\n * <motion.div\n * key={item.id}\n * initial={{ opacity: 0 }}\n * animate={{ opacity: 1 }}\n * exit={{ opacity: 0 }}\n * />\n * ))}\n * </AnimatePresence>\n * )\n * ```\n *\n * You can sequence exit animations throughout a tree using variants.\n *\n * If a child contains multiple `motion` components with `exit` props, it will only unmount the child once all `motion` components have finished animating out. Likewise, any components using `usePresence` all need to call `safeToRemove`.\n *\n * @public\n */\n",
|
|
@@ -991,6 +1015,30 @@
|
|
|
991
1015
|
],
|
|
992
1016
|
"implementsTokenRanges": []
|
|
993
1017
|
},
|
|
1018
|
+
{
|
|
1019
|
+
"kind": "Variable",
|
|
1020
|
+
"docComment": "/**\n * @public\n */\n",
|
|
1021
|
+
"excerptTokens": [
|
|
1022
|
+
{
|
|
1023
|
+
"kind": "Reference",
|
|
1024
|
+
"text": "Animation"
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"kind": "Content",
|
|
1028
|
+
"text": ": "
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"kind": "Reference",
|
|
1032
|
+
"text": "MotionFeature"
|
|
1033
|
+
}
|
|
1034
|
+
],
|
|
1035
|
+
"releaseTag": "Public",
|
|
1036
|
+
"name": "AnimationFeature",
|
|
1037
|
+
"variableTypeTokenRange": {
|
|
1038
|
+
"startIndex": 2,
|
|
1039
|
+
"endIndex": 3
|
|
1040
|
+
}
|
|
1041
|
+
},
|
|
994
1042
|
{
|
|
995
1043
|
"kind": "Interface",
|
|
996
1044
|
"docComment": "/**\n * @public\n */\n",
|
|
@@ -1825,6 +1873,135 @@
|
|
|
1825
1873
|
],
|
|
1826
1874
|
"extendsTokenRanges": []
|
|
1827
1875
|
},
|
|
1876
|
+
{
|
|
1877
|
+
"kind": "TypeAlias",
|
|
1878
|
+
"docComment": "/**\n * I'd rather the return type of `custom` to be implicit but this throws incorrect relative paths in the exported types and API Extractor throws a wobbly.\n */\n",
|
|
1879
|
+
"excerptTokens": [
|
|
1880
|
+
{
|
|
1881
|
+
"kind": "Content",
|
|
1882
|
+
"text": "export declare type "
|
|
1883
|
+
},
|
|
1884
|
+
{
|
|
1885
|
+
"kind": "Reference",
|
|
1886
|
+
"text": "CustomDomComponent"
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
"kind": "Content",
|
|
1890
|
+
"text": "<"
|
|
1891
|
+
},
|
|
1892
|
+
{
|
|
1893
|
+
"kind": "Reference",
|
|
1894
|
+
"text": "Props"
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
"kind": "Content",
|
|
1898
|
+
"text": "> = "
|
|
1899
|
+
},
|
|
1900
|
+
{
|
|
1901
|
+
"kind": "Reference",
|
|
1902
|
+
"text": "React"
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
"kind": "Content",
|
|
1906
|
+
"text": "."
|
|
1907
|
+
},
|
|
1908
|
+
{
|
|
1909
|
+
"kind": "Reference",
|
|
1910
|
+
"text": "ForwardRefExoticComponent"
|
|
1911
|
+
},
|
|
1912
|
+
{
|
|
1913
|
+
"kind": "Content",
|
|
1914
|
+
"text": "<"
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
"kind": "Reference",
|
|
1918
|
+
"text": "React"
|
|
1919
|
+
},
|
|
1920
|
+
{
|
|
1921
|
+
"kind": "Content",
|
|
1922
|
+
"text": "."
|
|
1923
|
+
},
|
|
1924
|
+
{
|
|
1925
|
+
"kind": "Reference",
|
|
1926
|
+
"text": "PropsWithoutRef"
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
"kind": "Content",
|
|
1930
|
+
"text": "<"
|
|
1931
|
+
},
|
|
1932
|
+
{
|
|
1933
|
+
"kind": "Reference",
|
|
1934
|
+
"text": "Props"
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"kind": "Content",
|
|
1938
|
+
"text": " & "
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"kind": "Reference",
|
|
1942
|
+
"text": "MotionProps"
|
|
1943
|
+
},
|
|
1944
|
+
{
|
|
1945
|
+
"kind": "Content",
|
|
1946
|
+
"text": "> & "
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
"kind": "Reference",
|
|
1950
|
+
"text": "React"
|
|
1951
|
+
},
|
|
1952
|
+
{
|
|
1953
|
+
"kind": "Content",
|
|
1954
|
+
"text": "."
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
"kind": "Reference",
|
|
1958
|
+
"text": "RefAttributes"
|
|
1959
|
+
},
|
|
1960
|
+
{
|
|
1961
|
+
"kind": "Content",
|
|
1962
|
+
"text": "<"
|
|
1963
|
+
},
|
|
1964
|
+
{
|
|
1965
|
+
"kind": "Reference",
|
|
1966
|
+
"text": "SVGElement"
|
|
1967
|
+
},
|
|
1968
|
+
{
|
|
1969
|
+
"kind": "Content",
|
|
1970
|
+
"text": " | "
|
|
1971
|
+
},
|
|
1972
|
+
{
|
|
1973
|
+
"kind": "Reference",
|
|
1974
|
+
"text": "HTMLElement"
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
"kind": "Content",
|
|
1978
|
+
"text": ">>"
|
|
1979
|
+
},
|
|
1980
|
+
{
|
|
1981
|
+
"kind": "Content",
|
|
1982
|
+
"text": ";"
|
|
1983
|
+
}
|
|
1984
|
+
],
|
|
1985
|
+
"releaseTag": "Public",
|
|
1986
|
+
"name": "CustomDomComponent",
|
|
1987
|
+
"typeParameters": [
|
|
1988
|
+
{
|
|
1989
|
+
"typeParameterName": "Props",
|
|
1990
|
+
"constraintTokenRange": {
|
|
1991
|
+
"startIndex": 0,
|
|
1992
|
+
"endIndex": 0
|
|
1993
|
+
},
|
|
1994
|
+
"defaultTypeTokenRange": {
|
|
1995
|
+
"startIndex": 0,
|
|
1996
|
+
"endIndex": 0
|
|
1997
|
+
}
|
|
1998
|
+
}
|
|
1999
|
+
],
|
|
2000
|
+
"typeTokenRange": {
|
|
2001
|
+
"startIndex": 5,
|
|
2002
|
+
"endIndex": 25
|
|
2003
|
+
}
|
|
2004
|
+
},
|
|
1828
2005
|
{
|
|
1829
2006
|
"kind": "Interface",
|
|
1830
2007
|
"docComment": "/**\n * @public\n */\n",
|
|
@@ -2093,6 +2270,30 @@
|
|
|
2093
2270
|
],
|
|
2094
2271
|
"implementsTokenRanges": []
|
|
2095
2272
|
},
|
|
2273
|
+
{
|
|
2274
|
+
"kind": "Variable",
|
|
2275
|
+
"docComment": "/**\n * @public\n */\n",
|
|
2276
|
+
"excerptTokens": [
|
|
2277
|
+
{
|
|
2278
|
+
"kind": "Reference",
|
|
2279
|
+
"text": "Drag"
|
|
2280
|
+
},
|
|
2281
|
+
{
|
|
2282
|
+
"kind": "Content",
|
|
2283
|
+
"text": ": "
|
|
2284
|
+
},
|
|
2285
|
+
{
|
|
2286
|
+
"kind": "Reference",
|
|
2287
|
+
"text": "MotionFeature"
|
|
2288
|
+
}
|
|
2289
|
+
],
|
|
2290
|
+
"releaseTag": "Public",
|
|
2291
|
+
"name": "DragFeature",
|
|
2292
|
+
"variableTypeTokenRange": {
|
|
2293
|
+
"startIndex": 2,
|
|
2294
|
+
"endIndex": 3
|
|
2295
|
+
}
|
|
2296
|
+
},
|
|
2096
2297
|
{
|
|
2097
2298
|
"kind": "Interface",
|
|
2098
2299
|
"docComment": "/**\n * @public\n */\n",
|
|
@@ -2942,6 +3143,30 @@
|
|
|
2942
3143
|
],
|
|
2943
3144
|
"extendsTokenRanges": []
|
|
2944
3145
|
},
|
|
3146
|
+
{
|
|
3147
|
+
"kind": "Variable",
|
|
3148
|
+
"docComment": "/**\n * @public\n */\n",
|
|
3149
|
+
"excerptTokens": [
|
|
3150
|
+
{
|
|
3151
|
+
"kind": "Reference",
|
|
3152
|
+
"text": "Exit"
|
|
3153
|
+
},
|
|
3154
|
+
{
|
|
3155
|
+
"kind": "Content",
|
|
3156
|
+
"text": ": "
|
|
3157
|
+
},
|
|
3158
|
+
{
|
|
3159
|
+
"kind": "Reference",
|
|
3160
|
+
"text": "MotionFeature"
|
|
3161
|
+
}
|
|
3162
|
+
],
|
|
3163
|
+
"releaseTag": "Public",
|
|
3164
|
+
"name": "ExitFeature",
|
|
3165
|
+
"variableTypeTokenRange": {
|
|
3166
|
+
"startIndex": 2,
|
|
3167
|
+
"endIndex": 3
|
|
3168
|
+
}
|
|
3169
|
+
},
|
|
2945
3170
|
{
|
|
2946
3171
|
"kind": "Interface",
|
|
2947
3172
|
"docComment": "/**\n * @public\n */\n",
|
|
@@ -3246,6 +3471,30 @@
|
|
|
3246
3471
|
"endIndex": 8
|
|
3247
3472
|
}
|
|
3248
3473
|
},
|
|
3474
|
+
{
|
|
3475
|
+
"kind": "Variable",
|
|
3476
|
+
"docComment": "/**\n * @public\n */\n",
|
|
3477
|
+
"excerptTokens": [
|
|
3478
|
+
{
|
|
3479
|
+
"kind": "Reference",
|
|
3480
|
+
"text": "Gestures"
|
|
3481
|
+
},
|
|
3482
|
+
{
|
|
3483
|
+
"kind": "Content",
|
|
3484
|
+
"text": ": "
|
|
3485
|
+
},
|
|
3486
|
+
{
|
|
3487
|
+
"kind": "Reference",
|
|
3488
|
+
"text": "MotionFeature"
|
|
3489
|
+
}
|
|
3490
|
+
],
|
|
3491
|
+
"releaseTag": "Public",
|
|
3492
|
+
"name": "GesturesFeature",
|
|
3493
|
+
"variableTypeTokenRange": {
|
|
3494
|
+
"startIndex": 2,
|
|
3495
|
+
"endIndex": 3
|
|
3496
|
+
}
|
|
3497
|
+
},
|
|
3249
3498
|
{
|
|
3250
3499
|
"kind": "Interface",
|
|
3251
3500
|
"docComment": "/**\n * @public\n */\n",
|
|
@@ -4701,6 +4950,187 @@
|
|
|
4701
4950
|
],
|
|
4702
4951
|
"extendsTokenRanges": []
|
|
4703
4952
|
},
|
|
4953
|
+
{
|
|
4954
|
+
"kind": "Function",
|
|
4955
|
+
"docComment": "/**\n * MotionConfig can be used in combination with the `m` component to cut bundle size and dynamically load only the features you use.\n * ```jsx\n * import {\n * m as motion,\n * AnimationFeature,\n * MotionConfig\n * } from \"framer-motion\"\n *\n * export function App() {\n * return (\n * <MotionConfig features={[AnimationFeature]}>\n * <motion.div animate={{ x: 100 }} />\n * </MotionConfig>\n * )\n * }\n * ```\n *\n * @public\n */\n",
|
|
4956
|
+
"excerptTokens": [
|
|
4957
|
+
{
|
|
4958
|
+
"kind": "Content",
|
|
4959
|
+
"text": "export declare function "
|
|
4960
|
+
},
|
|
4961
|
+
{
|
|
4962
|
+
"kind": "Reference",
|
|
4963
|
+
"text": "MotionConfig"
|
|
4964
|
+
},
|
|
4965
|
+
{
|
|
4966
|
+
"kind": "Content",
|
|
4967
|
+
"text": "({ "
|
|
4968
|
+
},
|
|
4969
|
+
{
|
|
4970
|
+
"kind": "Reference",
|
|
4971
|
+
"text": "children"
|
|
4972
|
+
},
|
|
4973
|
+
{
|
|
4974
|
+
"kind": "Content",
|
|
4975
|
+
"text": ", "
|
|
4976
|
+
},
|
|
4977
|
+
{
|
|
4978
|
+
"kind": "Reference",
|
|
4979
|
+
"text": "features"
|
|
4980
|
+
},
|
|
4981
|
+
{
|
|
4982
|
+
"kind": "Content",
|
|
4983
|
+
"text": ", ..."
|
|
4984
|
+
},
|
|
4985
|
+
{
|
|
4986
|
+
"kind": "Reference",
|
|
4987
|
+
"text": "props"
|
|
4988
|
+
},
|
|
4989
|
+
{
|
|
4990
|
+
"kind": "Content",
|
|
4991
|
+
"text": " }: "
|
|
4992
|
+
},
|
|
4993
|
+
{
|
|
4994
|
+
"kind": "Reference",
|
|
4995
|
+
"text": "MotionConfigProps"
|
|
4996
|
+
},
|
|
4997
|
+
{
|
|
4998
|
+
"kind": "Content",
|
|
4999
|
+
"text": "): "
|
|
5000
|
+
},
|
|
5001
|
+
{
|
|
5002
|
+
"kind": "Reference",
|
|
5003
|
+
"text": "JSX"
|
|
5004
|
+
},
|
|
5005
|
+
{
|
|
5006
|
+
"kind": "Content",
|
|
5007
|
+
"text": "."
|
|
5008
|
+
},
|
|
5009
|
+
{
|
|
5010
|
+
"kind": "Reference",
|
|
5011
|
+
"text": "Element"
|
|
5012
|
+
},
|
|
5013
|
+
{
|
|
5014
|
+
"kind": "Content",
|
|
5015
|
+
"text": ";"
|
|
5016
|
+
}
|
|
5017
|
+
],
|
|
5018
|
+
"returnTypeTokenRange": {
|
|
5019
|
+
"startIndex": 11,
|
|
5020
|
+
"endIndex": 14
|
|
5021
|
+
},
|
|
5022
|
+
"releaseTag": "Public",
|
|
5023
|
+
"overloadIndex": 0,
|
|
5024
|
+
"parameters": [
|
|
5025
|
+
{
|
|
5026
|
+
"parameterName": "{ children, features, ...props }",
|
|
5027
|
+
"parameterTypeTokenRange": {
|
|
5028
|
+
"startIndex": 9,
|
|
5029
|
+
"endIndex": 10
|
|
5030
|
+
}
|
|
5031
|
+
}
|
|
5032
|
+
],
|
|
5033
|
+
"name": "MotionConfig"
|
|
5034
|
+
},
|
|
5035
|
+
{
|
|
5036
|
+
"kind": "Interface",
|
|
5037
|
+
"docComment": "/**\n * @public\n */\n",
|
|
5038
|
+
"excerptTokens": [
|
|
5039
|
+
{
|
|
5040
|
+
"kind": "Content",
|
|
5041
|
+
"text": "export interface "
|
|
5042
|
+
},
|
|
5043
|
+
{
|
|
5044
|
+
"kind": "Reference",
|
|
5045
|
+
"text": "MotionConfigContext"
|
|
5046
|
+
},
|
|
5047
|
+
{
|
|
5048
|
+
"kind": "Content",
|
|
5049
|
+
"text": " "
|
|
5050
|
+
}
|
|
5051
|
+
],
|
|
5052
|
+
"releaseTag": "Public",
|
|
5053
|
+
"name": "MotionConfigContext",
|
|
5054
|
+
"members": [
|
|
5055
|
+
{
|
|
5056
|
+
"kind": "PropertySignature",
|
|
5057
|
+
"docComment": "/**\n * An array of features to provide to children.\n *\n * @public\n */\n",
|
|
5058
|
+
"excerptTokens": [
|
|
5059
|
+
{
|
|
5060
|
+
"kind": "Reference",
|
|
5061
|
+
"text": "features"
|
|
5062
|
+
},
|
|
5063
|
+
{
|
|
5064
|
+
"kind": "Content",
|
|
5065
|
+
"text": ": "
|
|
5066
|
+
},
|
|
5067
|
+
{
|
|
5068
|
+
"kind": "Reference",
|
|
5069
|
+
"text": "MotionFeature"
|
|
5070
|
+
},
|
|
5071
|
+
{
|
|
5072
|
+
"kind": "Content",
|
|
5073
|
+
"text": "[]"
|
|
5074
|
+
},
|
|
5075
|
+
{
|
|
5076
|
+
"kind": "Content",
|
|
5077
|
+
"text": ";"
|
|
5078
|
+
}
|
|
5079
|
+
],
|
|
5080
|
+
"releaseTag": "Public",
|
|
5081
|
+
"name": "features",
|
|
5082
|
+
"propertyTypeTokenRange": {
|
|
5083
|
+
"startIndex": 2,
|
|
5084
|
+
"endIndex": 4
|
|
5085
|
+
}
|
|
5086
|
+
}
|
|
5087
|
+
],
|
|
5088
|
+
"extendsTokenRanges": []
|
|
5089
|
+
},
|
|
5090
|
+
{
|
|
5091
|
+
"kind": "Variable",
|
|
5092
|
+
"docComment": "/**\n * @public\n */\n",
|
|
5093
|
+
"excerptTokens": [
|
|
5094
|
+
{
|
|
5095
|
+
"kind": "Reference",
|
|
5096
|
+
"text": "MotionConfigContext"
|
|
5097
|
+
},
|
|
5098
|
+
{
|
|
5099
|
+
"kind": "Content",
|
|
5100
|
+
"text": ": "
|
|
5101
|
+
},
|
|
5102
|
+
{
|
|
5103
|
+
"kind": "Reference",
|
|
5104
|
+
"text": "React"
|
|
5105
|
+
},
|
|
5106
|
+
{
|
|
5107
|
+
"kind": "Content",
|
|
5108
|
+
"text": "."
|
|
5109
|
+
},
|
|
5110
|
+
{
|
|
5111
|
+
"kind": "Reference",
|
|
5112
|
+
"text": "Context"
|
|
5113
|
+
},
|
|
5114
|
+
{
|
|
5115
|
+
"kind": "Content",
|
|
5116
|
+
"text": "<"
|
|
5117
|
+
},
|
|
5118
|
+
{
|
|
5119
|
+
"kind": "Reference",
|
|
5120
|
+
"text": "MotionConfigContext"
|
|
5121
|
+
},
|
|
5122
|
+
{
|
|
5123
|
+
"kind": "Content",
|
|
5124
|
+
"text": ">"
|
|
5125
|
+
}
|
|
5126
|
+
],
|
|
5127
|
+
"releaseTag": "Public",
|
|
5128
|
+
"name": "MotionConfigContext",
|
|
5129
|
+
"variableTypeTokenRange": {
|
|
5130
|
+
"startIndex": 2,
|
|
5131
|
+
"endIndex": 8
|
|
5132
|
+
}
|
|
5133
|
+
},
|
|
4704
5134
|
{
|
|
4705
5135
|
"kind": "Interface",
|
|
4706
5136
|
"docComment": "/**\n * @public\n */\n",
|
|
@@ -4727,12 +5157,32 @@
|
|
|
4727
5157
|
"excerptTokens": [
|
|
4728
5158
|
{
|
|
4729
5159
|
"kind": "Reference",
|
|
4730
|
-
"text": "
|
|
5160
|
+
"text": "getComponent"
|
|
4731
5161
|
},
|
|
4732
5162
|
{
|
|
4733
5163
|
"kind": "Content",
|
|
4734
5164
|
"text": ": "
|
|
4735
5165
|
},
|
|
5166
|
+
{
|
|
5167
|
+
"kind": "Content",
|
|
5168
|
+
"text": "("
|
|
5169
|
+
},
|
|
5170
|
+
{
|
|
5171
|
+
"kind": "Reference",
|
|
5172
|
+
"text": "props"
|
|
5173
|
+
},
|
|
5174
|
+
{
|
|
5175
|
+
"kind": "Content",
|
|
5176
|
+
"text": ": "
|
|
5177
|
+
},
|
|
5178
|
+
{
|
|
5179
|
+
"kind": "Reference",
|
|
5180
|
+
"text": "MotionProps"
|
|
5181
|
+
},
|
|
5182
|
+
{
|
|
5183
|
+
"kind": "Content",
|
|
5184
|
+
"text": ") => "
|
|
5185
|
+
},
|
|
4736
5186
|
{
|
|
4737
5187
|
"kind": "Reference",
|
|
4738
5188
|
"text": "React"
|
|
@@ -4755,7 +5205,7 @@
|
|
|
4755
5205
|
},
|
|
4756
5206
|
{
|
|
4757
5207
|
"kind": "Content",
|
|
4758
|
-
"text": ">"
|
|
5208
|
+
"text": "> | undefined"
|
|
4759
5209
|
},
|
|
4760
5210
|
{
|
|
4761
5211
|
"kind": "Content",
|
|
@@ -4763,10 +5213,10 @@
|
|
|
4763
5213
|
}
|
|
4764
5214
|
],
|
|
4765
5215
|
"releaseTag": "Public",
|
|
4766
|
-
"name": "
|
|
5216
|
+
"name": "getComponent",
|
|
4767
5217
|
"propertyTypeTokenRange": {
|
|
4768
5218
|
"startIndex": 2,
|
|
4769
|
-
"endIndex":
|
|
5219
|
+
"endIndex": 13
|
|
4770
5220
|
}
|
|
4771
5221
|
},
|
|
4772
5222
|
{
|