Due {format(new Date(deprecation.date), 'MMMM do, yyyy')}
@@ -137,17 +137,17 @@ const PropList = ({ propTypes }) => {
)}
{description && (
)}
-
+
{examples.map((example, idx) => (
))}
diff --git a/src/components/PropList.module.scss b/src/components/PropList.module.scss
index d2bca6057..0948a0cb3 100644
--- a/src/components/PropList.module.scss
+++ b/src/components/PropList.module.scss
@@ -31,7 +31,6 @@
.deprecation {
padding: 0.5rem;
background: var(--color-red-100);
- margin-bottom: 1rem;
}
.deprecationDate {
@@ -50,10 +49,6 @@
}
}
-.details:not(:last-child):not(:empty) {
- margin-bottom: 1rem;
-}
-
.flagged {
font-size: 0.75rem;
color: var(--color-red-400);
@@ -84,10 +79,6 @@
}
}
-.propInfoContainer:not(:last-child) {
- margin-bottom: 1rem;
-}
-
-.example:not(:last-child) {
+.section:not(:last-child) {
margin-bottom: 2rem;
}