Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only use default values if null or undefined is passed
If we use the `||` operator it will use the default value if a falsy (for example `""` or `0`) value is passed as argument or config. This will result in e.g `@offLabel=""` rendering a label "Off" when we actually wanted it to not render anything. This is a regression from previous versions.
- Loading branch information