playbook_ui_docs 14.2.1.pre.alpha.bugfixforactionrc3663 → 14.2.1.pre.alpha.pbntr373enablekitsforradio3665

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: be1f0b5273d0a05e88c0f74fc141efe02c59ff18c5a170704636b2c7376f29ec
4
- data.tar.gz: 97bbfe0555d6bfef282bc11f6dc312c021e7664f784ed9399a290d8845f71aab
3
+ metadata.gz: 851f6c4ec3754d58b28279edd613d3ae6b70f057bab213969436a0a6d17b36cd
4
+ data.tar.gz: b0fbe0741797c8baf11e20611d49b782684b0f69b5d29b7126b07e7cd4275ea4
5
5
  SHA512:
6
- metadata.gz: 4918e8dd79bee9fbee6ed0e9b7f79ad6250d789709752b29056d6ade89d318dc93180f2e4b3979ad6ed333c1412f257e28954d11eef3eb7c2dc15c415f3dc510
7
- data.tar.gz: b0356d07f5c986b3da45f7945046f95d1d48f61a3631c8b8c10b6eac7bf52522e1623e93b1e22fa4e61f855437d8f420951f3ebc82b7f6b65a58fefced842468
6
+ metadata.gz: 7d4a68e1101f56feef5b488579f50a8204ec7fa2fac6019201bae7682417bc942d8ae5daa0d7aecff517bf1132cabbc01e6068ab7491e9fac13ff005a0c05e49
7
+ data.tar.gz: '00975facbfc0dae3b076ba1b60d796232c01ef02897aea9ee2275d879f012cf4a63f8d55222e715dc5c41f8953c4020deaa25a9d41cca855d9dff9a8266f37e0'
@@ -0,0 +1,56 @@
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
+ label="Select"
21
+ name="Group1"
22
+ tabIndex={0}
23
+ value="Select"
24
+ {...props}
25
+ >
26
+ <Select
27
+ minWidth="xs"
28
+ options={options}
29
+ />
30
+ </Radio>
31
+ <Radio
32
+ label="Typeahead"
33
+ name="Group1"
34
+ tabIndex={0}
35
+ value="Typeahead"
36
+ {...props}
37
+ >
38
+ <Typeahead
39
+ minWidth="xs"
40
+ options={options}
41
+ />
42
+ </Radio>
43
+ <br />
44
+ <Radio
45
+ defaultChecked={false}
46
+ label="Typography"
47
+ name="Group1"
48
+ value="Typography"
49
+ {...props}
50
+ >
51
+ <Title text="Custom Typography" />
52
+ </Radio>
53
+ </div>
54
+ )
55
+ }
56
+ export default RadioChildren
@@ -14,6 +14,7 @@ examples:
14
14
  - radio_error: With Error
15
15
  - radio_alignment: Alignment
16
16
  - radio_disabled: Disabled
17
+ - radio_children: Children
17
18
 
18
19
  swift:
19
20
  - 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 RadioChildren } from './_radio_children.jsx'