Nonsense Placement Mandatory

    react-staggered-list
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.2 • Public • Published

    react-staggered-list

    staggered list app using react & react-motion.

    NPM JavaScript Style Guide

    This package is included in react-motion-components.

    Install

    npm install --save react-staggered-list

    Usage

    demo

    import * as React from 'react';
     
    import StaggeredList from 'react-staggered-list';
     
    class Example extends React.Component {
      render() {
        return (
          <div>
            <h1>react-staggered-list</h1>
            <div
              style={{
                width: 100,
                height: 100,
                margin: '0 auto'
              }}
            >
              <StaggeredList>
                <div style={{ widht: 100, height: 100, background: 'green' }} />
                <div style={{ widht: 100, height: 100, background: 'red' }} />
                <div style={{ widht: 100, height: 100, background: 'blue' }} />
              </StaggeredList>
            </div>
          </div>
        );
      }
    }

    License

    MIT © pjb0811

    Install

    npm i react-staggered-list

    DownloadsWeekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    382 kB

    Total Files

    11

    Last publish

    Collaborators

    • jbpark