# Segmented Control

Renders a list of attached buttons, similar to the [SegmentedControl components in Cocoa](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/SegmentedControl/Articles/SegmentedControlCode.html)

Simply pass in the segments as children with their values specified, the `onChange` function is called with the selected `value` as the argument.
