Skip to content

Commit

Permalink
Improve the Simple example
Browse files Browse the repository at this point in the history
  • Loading branch information
brunnolou committed Feb 25, 2018
1 parent 0603e5c commit 5eb1a33
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion examples/demo/src/Simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ const Simple = () => (
display: block;
color: inherit;
}
.bigger {
font-size: 20px;
color: #0b9fcb;
}
`}</style>
<ReactMorph>
{({ from, to, fadeIn, go, init, state }) => (
Expand All @@ -28,7 +32,9 @@ const Simple = () => (
🦋<br />ReactMorph
</h1>
<br />
<h2 {...to("description")}>Morphing was never so easy!</h2>
<p class="bigger" {...to("description")}>
Morphing was never so easy!
</p>

<a onClick={() => go(0)} {...fadeIn()}>
Back
Expand Down

0 comments on commit 5eb1a33

Please sign in to comment.