aboutsummaryrefslogtreecommitdiffstats
path: root/src/css/isAutoPx.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/css/isAutoPx.js')
-rw-r--r--src/css/isAutoPx.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/css/isAutoPx.js b/src/css/isAutoPx.js
index ca9b35aca..96501be01 100644
--- a/src/css/isAutoPx.js
+++ b/src/css/isAutoPx.js
@@ -23,7 +23,7 @@ var ralphaStart = /^[a-z]/,
// \ Max / \ Height /
rautoPx = /^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;
-function isAutoPx( prop ) {
+export function isAutoPx( prop ) {
// The first test is used to ensure that:
// 1. The prop starts with a lowercase letter (as we uppercase it for the second regex).
@@ -31,5 +31,3 @@ function isAutoPx( prop ) {
return ralphaStart.test( prop ) &&
rautoPx.test( prop[ 0 ].toUpperCase() + prop.slice( 1 ) );
}
-
-export default isAutoPx;