Add an example of extending the component in the docs