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

8 years ago

0.0.18

8 years ago

0.0.17

8 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.9

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.8

8 years ago