Paste Search Dynamic
Recent pastes
React Lite UI
  1. import React from 'react';
  2. import ReactDOM from 'react-dom';
  3. import { Carousel } from 'react-lite-ui';
  4.  
  5. class App extends React.component {
  6.       render() {
  7.         const data = [
  8.           "https://images.pexels.com/photos/371633/pexels-photo-371633.jpeg?cs=srgb&dl=wood-landscape-sky-371633.jpg&fm=jpg",
  9.           "https://hanslodge.com/images/pTqrL9Rec.jpg",
  10.           "https://images.pexels.com/photos/248797/pexels-photo-248797.jpeg?cs=srgb&dl=sea-landscape-nature-248797.jpg&fm=jpg"
  11.         ];
  12.         return <Carousel data={data} theme={componentTheme} />;
  13.       }
  14.     }
  15.  
  16. ReactDOM.render(
  17.     <App />,
  18.     document.getElementById('root')
  19. );
  20.  
Parsed in 0.025 seconds