diff --git a/website/layout/AutodocsLayout.js b/website/layout/AutodocsLayout.js
index f85016b6e4d190..ceebe4aca5488b 100644
--- a/website/layout/AutodocsLayout.js
+++ b/website/layout/AutodocsLayout.js
@@ -644,12 +644,12 @@ var Method = React.createClass({
render: function() {
return (
-
- {this.props.modifiers && this.props.modifiers.length &&
+
+ {this.props.modifiers && this.props.modifiers.length &&
{this.props.modifiers.join(' ') + ' '}
|| ''}
{this.props.name}
-
+
({this.props.params && this.props.params.length && this.props.params
.map((param) => {
var res = param.name;
diff --git a/website/src/react-native/css/react-native.css b/website/src/react-native/css/react-native.css
index e812927d97da16..4e8d3694689ba8 100644
--- a/website/src/react-native/css/react-native.css
+++ b/website/src/react-native/css/react-native.css
@@ -1237,6 +1237,23 @@ div[data-twttr-id] iframe {
margin-left: 20px;
}
+.methodTitle {
+ font-weight: bold;
+ font-size: 24px;
+ color: #E9967A;
+}
+
+.compactProps .methodTitle {
+ font-size: 14px;
+ margin-bottom: 0;
+ margin-top: 0;
+}
+
+.compactProps .methodTitle div {
+ font-weight: normal;
+ margin-left: 20px;
+}
+
.prop {
padding: 5px 10px;
}
@@ -1255,6 +1272,16 @@ div[data-twttr-id] iframe {
font-size: 13px;
}
+.methodType {
+ font-weight: normal;
+ font-size: 24px;
+}
+
+.compactProps .methodType {
+ font-weight: normal;
+ font-size: 13px;
+}
+
.platform {
background-color: hsl(198, 100%, 87%);
border-radius: 5px;