Socket
Socket
Sign inDemoInstall

@bsara/react-layouts

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bsara/react-layouts - npm Package Compare versions

Comparing version 1.0.0-alpha.17 to 1.0.0-alpha.18

2

GridLayout/GridLayout.js

@@ -64,3 +64,3 @@ 'use strict';

'div',
_extends({}, elementProps, { className: 'rl-aef45beb', ref: this.props.domRef }),
_extends({}, elementProps, { className: (elementProps.className ? elementProps.className + ' ' : '') + 'rl-aef45beb', ref: this.props.domRef }),
this.props.children

@@ -67,0 +67,0 @@ );

@@ -86,3 +86,3 @@ 'use strict';

'div',
_extends({}, elementProps, { ref: domRef, className: (0, _getClassName3.default)('linear-layout ' + (isDirectionVertical ? 'vertical' : 'horizontal') + ' ' + className, _styleModuleImportMap)
_extends({}, elementProps, { ref: domRef, className: (className ? className + ' ' : '') + (0, _getClassName3.default)('linear-layout ' + (isDirectionVertical ? 'vertical' : 'horizontal'), _styleModuleImportMap)
}),

@@ -89,0 +89,0 @@ children

{
"name": "@bsara/react-layouts",
"version": "1.0.0-alpha.17",
"version": "1.0.0-alpha.18",
"description": "A collection of generic, reusable layout components",

@@ -5,0 +5,0 @@ "authors": [

@@ -34,3 +34,3 @@

return (
<div {...elementProps} styleName="grid-layout" ref={this.props.domRef}>
<div {...elementProps} styleName="grid-layout" className={elementProps.className} ref={this.props.domRef}>
{this.props.children}

@@ -37,0 +37,0 @@ </div>

@@ -44,3 +44,3 @@

return (
<div {...elementProps} styleName={`linear-layout ${isDirectionVertical ? 'vertical' : 'horizontal'} ${className}`} ref={domRef}>
<div {...elementProps} styleName={`linear-layout ${isDirectionVertical ? 'vertical' : 'horizontal'}`} className={className} ref={domRef}>
{children}

@@ -47,0 +47,0 @@ </div>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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