added basic example for user-defined Component