1.0.4 • Published 1 year ago

@blast-engine/responsive-wrap v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@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 ©

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago