Negatory. Postpone Mission.

    @nju33/react-masonry
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.1 • Public • Published

    react-masonry

    TypeScript @nju33/react-masonry style: styled-components code style: prettier

    Install

    yarn add @nju33/react-masonry react react-dom styled-components

    This library includes the d.ts.

    Demo

    https://nju33.github.io/react-masonry/

    Sample Code

    import React from 'react';
    import {render} from 'react-dom';
    import {Masonry} from '@nju33/react-masonry';
     
    render(
      (
        <Masonry
          col={3} 
          gap={16} 
        >
          <div style={{width: '100%', height: '100px'}}>
            <Something />
          </div>
          <div style={{width: '100%', height: '100px'}}>
            <Something />
          </div>
          {/* ... */}
        </Masonry>
      ),
      document.body
    )

    Keywords

    Install

    npm i @nju33/react-masonry

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    96.2 kB

    Total Files

    73

    Last publish

    Collaborators

    • nju33