Add example in demo

Add example in demo with default value.