playbook_ui_docs 14.4.0.pre.alpha.PLAY1562highchartsbump3819 → 14.4.0.pre.alpha.pbntr523enablekitsforradiofix3826

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cfd4e12a6ba5d829b8c383be22ef9a5535b45995fa322626e93bfb5f343bfe55
4
- data.tar.gz: c28358d54fb88f018cb01a631bf358f2f74353218d2304103cd9da4981e49c4c
3
+ metadata.gz: b1e57172003495ff23ef86ab014c8023ea069bb9f9bc9ffdb8dab469c6bdde7b
4
+ data.tar.gz: 8cfb04820c1de2a1ba332b06d72ba605786e7418aac62f68ed1925310dc31546
5
5
  SHA512:
6
- metadata.gz: 2b7a9164f039f8cf58f7d3da53503ecec422d4cb409394017721910808fcba940e2adb89d6140f6880bc1caa78f17894094b11067baae81c78879b0cd30c1978
7
- data.tar.gz: 3640bada72dba263d60017d4924e27862e6f10fa5214da5461c8039135eca3b98659c6708dae8a0573baac20aaadc7fa1887e634997d9256bc65610e64bf1424
6
+ metadata.gz: fc426feebadb866bccdccc38b888e4393a99be03f882a5801aba4eaa87af11ec0e574caad299e89931024fb7e8103e9af6e591b7e9c825daf050f62df9efce2c
7
+ data.tar.gz: 5ca81e22fec27d95de46d73c716894c2db299f95e03364b2da39601fab6091ac698b28c0eff14acfffc0c3f7066b091bd9769349e8a7ebabdba8d50e376c3a81
@@ -0,0 +1,59 @@
1
+ import React from 'react'
2
+ import Radio from '../_radio'
3
+ import Select from '../../pb_select/_select'
4
+ import Typeahead from '../../pb_typeahead/_typeahead'
5
+ import Title from '../../pb_title/_title'
6
+
7
+ const RadioChildren = (props) => {
8
+
9
+
10
+ const options = [
11
+ { label: 'Orange', value: 'Orange' },
12
+ { label: 'Red', value: 'Red' },
13
+ { label: 'Green', value: 'Green' },
14
+ { label: 'Blue', value: 'Blue' },
15
+ ]
16
+
17
+ return (
18
+ <div>
19
+ <Radio
20
+ customChildren
21
+ label="Select"
22
+ name="Group1"
23
+ tabIndex={0}
24
+ value="Select"
25
+ {...props}
26
+ >
27
+ <Select
28
+ minWidth="xs"
29
+ options={options}
30
+ />
31
+ </Radio>
32
+ <Radio
33
+ customChildren
34
+ label="Typeahead"
35
+ name="Group1"
36
+ tabIndex={0}
37
+ value="Typeahead"
38
+ {...props}
39
+ >
40
+ <Typeahead
41
+ minWidth="xs"
42
+ options={options}
43
+ />
44
+ </Radio>
45
+ <br />
46
+ <Radio
47
+ customChildren
48
+ defaultChecked={false}
49
+ label="Typography"
50
+ name="Group1"
51
+ value="Typography"
52
+ {...props}
53
+ >
54
+ <Title text="Custom Typography" />
55
+ </Radio>
56
+ </div>
57
+ )
58
+ }
59
+ export default RadioChildren
@@ -15,6 +15,7 @@ examples:
15
15
  - radio_error: With Error
16
16
  - radio_alignment: Alignment
17
17
  - radio_disabled: Disabled
18
+ - radio_custom_children: Custom Children
18
19
 
19
20
  swift:
20
21
  - radio_default_swift: Default
@@ -3,3 +3,4 @@ export { default as RadioCustom } from './_radio_custom.jsx'
3
3
  export { default as RadioError } from './_radio_error.jsx'
4
4
  export { default as RadioAlignment } from './_radio_alignment.jsx'
5
5
  export { default as RadioDisabled } from './_radio_disabled.jsx'
6
+ export { default as RadioCustomChildren } from './_radio_custom_children.jsx'