Created
May 18, 2017 09:05
-
-
Save pk936/85b75460476a3feb36b7bc474a470f4f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{( | |
()=>{ | |
if(fromOperatorFields.length > 0){ | |
return ( | |
fromOperatorFields.map((fields,index)=>{ | |
return <option key={index} value="">{fields.label}</option> | |
}) | |
) | |
} | |
} | |
)()} | |
// does not return option tag |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment