0.0.28 • Published 8 years ago

react-dtl v0.0.28

Weekly downloads
27
License
MIT
Repository
-
Last release
8 years ago

Reusable UI Components developed by DTL.

Usage as React Components

Carousel Banner Component

Example:

import CarouselBanner from 'react-dtl/dist/components/feature-carousel/CarouselBanner';

class App extends Component {
  render() {
    return (
      <div>
        <p>Random Number Display Component</p>
        <CarouselBanner banners={this.props.banners} />
      </div>
    );
  }
}

Banners data-structure looks like below:

banners: {
    isLoading: false,
    failedToLoad: false,
    data: [
        {
            title: 'Crazy Last Week',
            description: 'They are convenient, on-point and easy to handle: apps help you through the day. On your iPhone or Android smartphone or in SharePoint.',
            image: 'http://placehold.it/1500x400'
        },
        {
            title: 'Introducing new Leave Management Tool',
            description: 'We have put together a selection of SharePoint apps, which we believe to provide the best help. And to top it off, these apps can be downloaded for free.',
            image: 'http://placehold.it/1500x400'
        }
    ]
}
0.0.28

8 years ago

0.0.27

8 years ago

0.0.26

8 years ago

0.0.25

8 years ago

0.0.24

8 years ago

0.0.23

8 years ago

0.0.22

8 years ago

0.0.21

8 years ago

0.0.20

8 years ago

0.0.19

9 years ago

0.0.18

9 years ago

0.0.17

9 years ago

0.0.16

9 years ago

0.0.15

9 years ago

0.0.14

9 years ago

0.0.13

9 years ago

0.0.9

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.8

9 years ago