bpk-react-utils
Advanced tools
Comparing version 3.0.1 to 3.0.2-css.0
@@ -19,2 +19,4 @@ /* | ||
/* @flow strict */ | ||
import wrapDisplayName from 'recompose/wrapDisplayName'; | ||
@@ -21,0 +23,0 @@ |
{ | ||
"name": "bpk-react-utils", | ||
"version": "3.0.1", | ||
"version": "3.0.2-css.0", | ||
"description": "Utilities for Backpack's React components.", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "546e5a4762f36fddbba30f69a272017d9aa6c3c0" | ||
"gitHead": "6dea0c366b9237ca3a6df91c0f856594d30cc7d8" | ||
} |
@@ -19,2 +19,4 @@ /* | ||
/* @flow strict */ | ||
import React from 'react'; | ||
@@ -21,0 +23,0 @@ import { shallow } from 'enzyme'; |
@@ -19,5 +19,7 @@ /* | ||
/* @flow strict */ | ||
import assign from 'object-assign'; | ||
import PropTypes from 'prop-types'; | ||
import React from 'react'; | ||
import React, { type Node } from 'react'; | ||
import CSSTransition from 'react-transition-group/CSSTransition'; | ||
@@ -29,2 +31,9 @@ | ||
type Props = { | ||
appearClassName: string, | ||
appearActiveClassName: string, | ||
transitionTimeout: number, | ||
children: Node, | ||
}; | ||
const TransitionInitialMount = ({ | ||
@@ -35,3 +44,3 @@ appearClassName, | ||
children, | ||
}) => ( | ||
}: Props) => ( | ||
<CSSTransition | ||
@@ -38,0 +47,0 @@ classNames={{ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
1079
42939
17
2