1.1.0 • Published 7 years ago
boundless-segmented-control v1.1.0
THIS IS AN AUTOGENERATED FILE. EDIT INDEX.JS INSTEAD.
SegmentedControl
A control containing multiple buttons, only one of which can be active at a time.
SegmentedControl is implemented as a "controlled component", meaning it is a direct representation of the model data passed inside. User interaction will bubble changes in the form of onOptionSelected
that a controller view must intercept and apply against the data provider.
Props
Note: only top-level props are in the README, for the full list check out the website.
Required Props
There are no required props.
Optional Props
Validation Criteria:
- There must be at least two
options
(a segmented control with one button is not allowed)- There must only be one
option
whoseselected
attribute istrue
(multiple selections are not allowed)- Each
value
attribute must be unique across the set ofoptions
- options[].selected
Boolean
- options[].value
String
- options[].content
*
the content to go inside the button</tr>
1.1.0
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago
1.0.0-beta.7
7 years ago
1.0.0-beta.6
7 years ago
1.0.0-beta.5
7 years ago
1.0.0-beta.4
7 years ago
1.0.0-beta.3
7 years ago