getComponent doc on readme