-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTest.js
41 lines (40 loc) · 1.32 KB
/
Test.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import React from "react";
import ReactDOM from "react-dom";
import ReactCardFlipper from "./ReactCardFlipper";
ReactDOM.render(
<div id="main" className="container">
<div className="row">
<div className="col-10 text-center col-centered">
<ReactCardFlipper width="300px" height="400px" behavior="click">
<div className="text-center">
You can click me, go ahead... Try it.
</div>
<div className="text-center">
Great job! You win person of the month.
</div>
</ReactCardFlipper>
<ReactCardFlipper width="300px" height="400px" behavior="hover">
<div className="text-center">
This is a second card because you can have multiple. This one
hovers!
</div>
<div className="text-center">
Great job! You win person of the day.
</div>
</ReactCardFlipper>
<ReactCardFlipper
width="300px"
height="400px"
behavior="click"
levitate={true}
>
<div className="text-center">You can click me, and I levitate</div>
<div className="text-center">
Great job! You win person of the minute.
</div>
</ReactCardFlipper>
</div>
</div>
</div>,
document.getElementById("root")
);