File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -70,16 +70,17 @@ In your `App.js` :
70
70
``` jsx
71
71
import React from ' react' ;
72
72
import ReactDOM from ' react-dom' ;
73
- import { Carousel } from ' react-lite-ui' ;
73
+ import { Card } from ' react-lite-ui' ;
74
74
75
75
class App extends React .Component {
76
76
render () {
77
- const data = [
78
- " https://images.pexels.com/photos/371633/pexels-photo-371633.jpeg?cs=srgb&dl=wood-landscape-sky-371633.jpg&fm=jpg" ,
79
- " https://hanslodge.com/images/pTqrL9Rec.jpg" ,
80
- " https://images.pexels.com/photos/248797/pexels-photo-248797.jpeg?cs=srgb&dl=sea-landscape-nature-248797.jpg&fm=jpg"
81
- ];
82
- return < Carousel data= {data} theme= {componentTheme} / > ;
77
+ return (
78
+ < Card
79
+ header= " Card header"
80
+ >
81
+ Card content
82
+ < / Card>
83
+ );
83
84
}
84
85
}
85
86
You can’t perform that action at this time.
0 commit comments