You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
1.3 KiB

{"ast":null,"code":"import * as React from 'react';\nimport CardAnimationContext from \"./CardAnimationContext\";\nexport default function useCardAnimation() {\n var animation = React.useContext(CardAnimationContext);\n if (animation === undefined) {\n throw new Error(\"Couldn't find values for card animation. Are you inside a screen in Stack?\");\n }\n return animation;\n}","map":{"version":3,"sources":["useCardAnimation.tsx"],"names":["React","CardAnimationContext","useCardAnimation","animation","useContext","undefined","Error"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAE9B,OAAOC,oBAAoB;AAE3B,eAAe,SAASC,gBAAgB,GAAG;EACzC,IAAMC,SAAS,GAAGH,KAAK,CAACI,UAAU,CAACH,oBAAoB,CAAC;EAExD,IAAIE,SAAS,KAAKE,SAAS,EAAE;IAC3B,MAAM,IAAIC,KAAK,CACb,4EAA4E,CAC7E;EACH;EAEA,OAAOH,SAAS;AAClB","sourceRoot":"../../src","sourcesContent":["import * as React from 'react';\nimport CardAnimationContext from './CardAnimationContext';\nexport default function useCardAnimation() {\n const animation = React.useContext(CardAnimationContext);\n if (animation === undefined) {\n throw new Error(\"Couldn't find values for card animation. Are you inside a screen in Stack?\");\n }\n return animation;\n}\n//# sourceMappingURL=useCardAnimation.js.map"]},"metadata":{},"sourceType":"module"}