added component compatibility

Add suport for https://github.com/component/component/