Skip to content

Include JSX syntax highlight on docs #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 7, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ install animate-css-styled-components

import animate-css-styled-components module calling global animations

```
```jsx
import { Wobble, FadeIn, FadeOut } from 'animate-css-styled-components';
```

Expand All @@ -28,7 +28,7 @@ Now, this animation is a component and you can encompassing the desired content

Example:

```
```jsx
<Wobble duration="0.8s" delay="1s">
<Card>
card content...
Expand Down Expand Up @@ -67,7 +67,7 @@ Example:

For convenience you can use Animate HOC to use animations stacked, you could pass a unique component to `Animation` prop or an array of animations, example:

```
```jsx
import Animate, {
Flash,
Bounce
Expand All @@ -84,7 +84,7 @@ For convenience you can use Animate HOC to use animations stacked, you could pas
```
In this example that you could see [here](https://dielduarte.github.io/animate-css-styled-components/?selectedKind=Animate%20%28HOC%29&selectedStory=Multiple%20Animations&full=0&down=1&left=1&panelRight=0&downPanel=kadirahq%2Fstorybook-addon-actions%2Factions-panel), the Bounce Animation will run after when Flash animation is finished, respecting the duration time + delay time, duration and delay are same for all animations, but you could pass diferents values to each animation prop, look:

```
```jsx
import Animate, {
Flash,
Bounce,
Expand Down Expand Up @@ -117,7 +117,7 @@ You can import BaseAnimation component and create your custom animation

Example:

```
```jsx
import { BaseAnimation } from 'animate-css-styled-components';

//create your custom animation
Expand Down