added support for singleLine = true prop, closes #5