Fixing typo in code example in README

The "How do I defined a component?" code example had the wrong closing brace.