New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@blast-engine/responsive-wrap

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blast-engine/responsive-wrap

>

latest
npmnpm
Version
1.0.4
Version published
Maintainers
3
Created
Source

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

FAQs

Package last updated on 15 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts