From 2a24e36f1db9e814b89cf0aa8fb671624c1d795d Mon Sep 17 00:00:00 2001 From: carloluis Date: Tue, 26 Dec 2017 01:30:36 -0300 Subject: [PATCH] example code updates.. --- example/components/ExUpdate.js | 5 +---- example/components/Example.js | 1 + example/components/Section.js | 19 ++++--------------- example/index.html | 7 ++++--- 4 files changed, 10 insertions(+), 22 deletions(-) diff --git a/example/components/ExUpdate.js b/example/components/ExUpdate.js index addda7a..1e8c8bd 100644 --- a/example/components/ExUpdate.js +++ b/example/components/ExUpdate.js @@ -61,10 +61,7 @@ class ExUpdate extends React.Component { return (
-
+
(
{``}
+ CodePen
( -
-

- {title} -

-
- {children} -
- { - !!description && -

- {description} -

- } +
+

{title}

+
{children}
+ {!!description &&

{description}

}
); diff --git a/example/index.html b/example/index.html index 2f7fea4..2983136 100644 --- a/example/index.html +++ b/example/index.html @@ -12,6 +12,7 @@