Add support for component
Merge pull request #2 from kevva/component

Add support for component