Add code examples to the ButtonGroup API reference