diff --git a/src/rsg-components/Props/Props.spec.js b/src/rsg-components/Props/Props.spec.js
index 453eba850..4bd34b474 100644
--- a/src/rsg-components/Props/Props.spec.js
+++ b/src/rsg-components/Props/Props.spec.js
@@ -32,7 +32,7 @@ test('should render PropTypes.string', () => {
color |
string |
|
- |
+ } /> |
);
});
@@ -45,7 +45,7 @@ test('should render PropTypes.string with a default value', () => {
color |
string |
pink |
- |
+ } /> |
);
});
@@ -58,7 +58,7 @@ test('should render PropTypes.string.isRequired', () => {
color |
string |
Required |
- |
+ } /> |
);
});
@@ -71,7 +71,7 @@ test('should render PropTypes.arrayOf', () => {
colors |
string[] |
|
- |
+ } /> |
);
});
@@ -84,7 +84,7 @@ test('should render PropTypes.instanceOf', () => {
num |
Number |
|
- |
+ } /> |
);
});
@@ -97,7 +97,7 @@ test('should render PropTypes.shape', () => {
shape |
|
-
+ }>
bar : number — Required
@@ -118,7 +118,7 @@ test('should render description in Markdown', () => {
color |
string |
|
- |
+ }> |
);
});
@@ -131,7 +131,7 @@ test('should render unknown proptype for a prop when a relevant proptype is not
color |
unknown |
pink |
- |
+ } /> |
);
});
diff --git a/src/rsg-components/Props/PropsRenderer.js b/src/rsg-components/Props/PropsRenderer.js
index 426468f64..d2ec459c0 100644
--- a/src/rsg-components/Props/PropsRenderer.js
+++ b/src/rsg-components/Props/PropsRenderer.js
@@ -57,7 +57,7 @@ function renderDescription(prop) {
const { description } = prop;
const extra = renderExtra(prop);
return (
-
+ }>
{description && }
{extra}
|