declare edit-todo as component