// Allow '0' to pass through without warning. 0 is already special and
// doesn't require units, so we don't need to warn about it.
if(component&&value!=='0'){
varowner=component._currentElement._owner;
varownerName=owner?owner.getName():null;
if(ownerName&&!styleWarnings[ownerName]){
styleWarnings[ownerName]={};
}
varwarned=false;
if(ownerName){
varwarnings=styleWarnings[ownerName];
warned=warnings[name];
if(!warned){
warnings[name]=true;
}
}
if(!warned){
process.env.NODE_ENV!=='production'?warning(false,'a `%s` tag (owner: `%s`) was passed a numeric string value '+'for CSS property `%s` (value: `%s`) which will be treated '+'as a unitless number in a future version of React.',component._currentElement.type,ownerName||'unknown',name,value):void0;