@khanacademy/wonder-blocks-clickable
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -165,3 +165,3 @@ // @flow | ||
type ContextTypes = {| | ||
router: PropTypes.Requireable<any>, | ||
router: $FlowFixMe, | ||
|}; | ||
@@ -168,0 +168,0 @@ |
{ | ||
"name": "@khanacademy/wonder-blocks-clickable", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"design": "v1", | ||
@@ -30,3 +30,3 @@ "description": "Clickable component for Wonder-Blocks.", | ||
}, | ||
"gitHead": "644907d5558f4ab46a8ecb3c7e22be8bd3a9920e" | ||
"gitHead": "59ba7fd38c7639ee60b4e8bfc14117db7ee16761" | ||
} |
@@ -33,3 +33,3 @@ // @flow | ||
router?: any, | ||
): React.ComponentType<> { | ||
): React.ComponentType<React.ElementConfig<typeof ClickableBehavior>> { | ||
if (router && skipClientNav !== true && href && !isExternalUrl(href)) { | ||
@@ -36,0 +36,0 @@ return ClickableBehaviorWithRouter; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
200502