test(add length check) length check for components
fix(update example) update label eg after api changed