playbook_ui_docs 14.4.0.pre.alpha.PLAY1546highchartsbump3822 → 14.4.0.pre.alpha.pbntr523enablekitsforradiofix3825

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: 86e7d8dd13e09a6cb505e11d01b4b1438241a239b0be2ed374f3ea561e9d26b1
4
- data.tar.gz: 3f69ac096e4b1b5e97cbf6bae5c2aaf8307c56369fb2376306cac5b998d1d7a5
3
+ metadata.gz: 826f7fa7f998ca0cc29a4ed9cd7cb12e9431bbaa6dab9e2f6c48a5f2afda7f9f
4
+ data.tar.gz: 1778138501c9138162d0fb78e25acdaec0b93ac48e7050a5d8cc4ded305bcb31
5
5
  SHA512:
6
- metadata.gz: 5a5cc1729f91176c67a446d5e9dd2288c639272baf3ba895cb8c57ce608739a2d99e4f75b2d8b71da05dde17a5a25d3b46e255b23caf817036391dd048a2a7f0
7
- data.tar.gz: 83e047d4d93c778d64f4eb7ae5a11707ce016ed39fb14cdf3e863ede50ae457548124933af5cd420223f04b2e3f94ff55458323cb511b0b50ce23b9e7998f919
6
+ metadata.gz: 0b4044647361d4530b85435351cca20581e51dae5e8ebb2338dde53509cb484804873cc972994f54113fcca63f7226ae512178c4a2cecd71667573b531cbe21b
7
+ data.tar.gz: 52415ffd9c63a9484c436346ee3812ba88d3f7bb7ee1be5b6bde7ae55b31633a983a32bf794ec7816712f86c33a0a6e2cc92dd1818a3dadd1a38bcfe50850dc3
@@ -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'