New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-overflow-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-overflow-wrapper

A React component that scrolls horizontally if the list is overflow

  • 0.4.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

react-overflow-wrapper

A React component that scrolls horizontally if the list is overflow.

NPM

Version Build Coverage Status Size code style: prettier License

Gif

Install

$ npm install react-overflow-wrapper
$ yarn add react-overflow-wrapper

Usage

import OverflowWrapper from 'react-overflow-wrapper';

<OverflowWrapper>
 {
   // some items
 }
</OverflowWrapper>

Props

children: React.ReactNode
  • isRequired
  • default: undefined
className: string
  • default: undefined
style: object
  • default: undefined
iconSize: number
  • default: 26
iconColor: string
  • default: #aeb6bb
iconWrapStyle: object
  • default:
    { 
      left: { 
        backgroundImage: 'linear-gradient(to right, hsl(0, 100%, 100%) 25%, 
        hsla(0, 0%, 0%, 0))', 
      }, 
      right: { 
        backgroundImage: 'linear-gradient(to left, hsl(0, 100%, 100%) 25%, 
        hsla(0, 0%, 0%, 0))', 
      }, 
    }
    
iconStyle: object
  • default:
    {
      left: {},
      right: {},
    }
    
hideIcons: boolean
  • default: false
leftIcon: React.ReactNode
  • default: undefined
rightIcon: React.ReactNode
  • default: undefined

Browser support

Tested with modern browsers.

License

the MIT license.

Keywords

FAQs

Package last updated on 16 Mar 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc