File tree Expand file tree Collapse file tree 7 files changed +10
-10
lines changed
docs/src/app/components/pages/components Expand file tree Collapse file tree 7 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class GridListPage extends React.Component {
50
50
infoArray : [
51
51
{
52
52
name : 'title' ,
53
- type : 'string ' ,
53
+ type : 'node ' ,
54
54
header : 'optional' ,
55
55
desc : 'Title to be displayed on tile.' ,
56
56
} ,
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export default class ListsPage extends React.Component {
55
55
} ,
56
56
{
57
57
name : 'subheader' ,
58
- type : 'string ' ,
58
+ type : 'node ' ,
59
59
header : 'optional' ,
60
60
desc : 'The subheader string that will be displayed at the top of the list.' ,
61
61
} ,
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export default class SwitchesPage extends React.Component {
55
55
} ,
56
56
{
57
57
name : 'label' ,
58
- type : 'string ' ,
58
+ type : 'node ' ,
59
59
header : 'optional' ,
60
60
desc : 'The text that is displayed beside the checkbox.' ,
61
61
} ,
@@ -130,7 +130,7 @@ export default class SwitchesPage extends React.Component {
130
130
} ,
131
131
{
132
132
name : 'label' ,
133
- type : 'string ' ,
133
+ type : 'node ' ,
134
134
header : 'optional' ,
135
135
desc : 'The text that is displayed beside the radio button.' ,
136
136
} ,
@@ -252,7 +252,7 @@ export default class SwitchesPage extends React.Component {
252
252
} ,
253
253
{
254
254
name : 'label' ,
255
- type : 'string ' ,
255
+ type : 'node ' ,
256
256
header : 'optional' ,
257
257
desc : 'The text that is displayed beside the toggle switch.' ,
258
258
} ,
Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ const CardTitle = React.createClass({
38
38
} ,
39
39
40
40
propTypes : {
41
- title : React . PropTypes . string ,
41
+ title : React . PropTypes . node ,
42
42
titleColor : React . PropTypes . string ,
43
43
titleStyle : React . PropTypes . object ,
44
- subtitle : React . PropTypes . string ,
44
+ subtitle : React . PropTypes . node ,
45
45
subtitleColor : React . PropTypes . string ,
46
46
subtitleStyle : React . PropTypes . object ,
47
47
expandable : React . PropTypes . bool ,
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ const EnhancedSwitch = React.createClass({
45
45
labelStyle : React . PropTypes . object ,
46
46
name : React . PropTypes . string ,
47
47
value : React . PropTypes . string ,
48
- label : React . PropTypes . string ,
48
+ label : React . PropTypes . node ,
49
49
onSwitch : React . PropTypes . func ,
50
50
required : React . PropTypes . bool ,
51
51
disabled : React . PropTypes . bool ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const GridTile = React.createClass({
13
13
} ,
14
14
15
15
propTypes : {
16
- title : React . PropTypes . string ,
16
+ title : React . PropTypes . node ,
17
17
subtitle : React . PropTypes . node ,
18
18
titlePosition : React . PropTypes . oneOf ( [ 'top' , 'bottom' ] ) ,
19
19
titleBackground : React . PropTypes . string ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const List = React.createClass({
17
17
18
18
propTypes : {
19
19
insetSubheader : React . PropTypes . bool ,
20
- subheader : React . PropTypes . string ,
20
+ subheader : React . PropTypes . node ,
21
21
subheaderStyle : React . PropTypes . object ,
22
22
zDepth : PropTypes . zDepth ,
23
23
} ,
You can’t perform that action at this time.
0 commit comments