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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 851f6c4ec3754d58b28279edd613d3ae6b70f057bab213969436a0a6d17b36cd
|
4
|
+
data.tar.gz: b0fbe0741797c8baf11e20611d49b782684b0f69b5d29b7126b07e7cd4275ea4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
@@ -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'
|