Nimble Pixie Merchant

    @blast-engine/responsive-wrap

    1.0.4 • Public • Published

    @blast-engine/responsive-wrap

    NPM JavaScript Style Guide

    Install

    npm install --save @blast-engine/responsive-wrap

    Usage

    import React, { Component } from 'react'
    
    import { ResponsiveWrap } from '@blast-engine/responsive-wrap'
    import '@blast-engine/responsive-wrap'
    
    class Example extends Component {
      render() {
        return (
          <ResponsiveWrap minWidth={100} maxWidth={200} >
            {/* children */}
          </ResponsiveWrap>
        )
      }
    }

    Props

    • minWidth: minimum width of each child [required]
    • maxWidth: maximum width of each child [required]
    • children: children to render [required]
    • outerDivClassName: class name for outer div [optional]

    License

    MIT ©

    Keywords

    none

    Install

    npm i @blast-engine/responsive-wrap

    DownloadsWeekly Downloads

    5

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    14.4 kB

    Total Files

    9

    Last publish

    Collaborators

    • armingh
    • jphillip44
    • santi-elus