Socket
Socket
Sign inDemoInstall

react-bootstrap

Package Overview
Dependencies
Maintainers
3
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-bootstrap - npm Package Compare versions

Comparing version 2.3.1 to 2.4.0

1

cjs/ToastContainer.d.ts

@@ -6,4 +6,5 @@ import * as React from 'react';

position?: ToastPosition;
containerPosition?: string;
}
declare const ToastContainer: BsPrefixRefForwardingComponent<'div', ToastContainerProps>;
export default ToastContainer;

3

cjs/ToastContainer.js

@@ -34,2 +34,3 @@ "use strict";

position,
containerPosition = 'absolute',
className,

@@ -44,3 +45,3 @@ // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595

...props,
className: (0, _classnames.default)(bsPrefix, position && `position-absolute ${positionClasses[position]}`, className)
className: (0, _classnames.default)(bsPrefix, position && [containerPosition ? `position-${containerPosition}` : null, positionClasses[position]], className)
});

@@ -47,0 +48,0 @@ });

@@ -6,4 +6,5 @@ import * as React from 'react';

position?: ToastPosition;
containerPosition?: string;
}
declare const ToastContainer: BsPrefixRefForwardingComponent<'div', ToastContainerProps>;
export default ToastContainer;

@@ -19,2 +19,3 @@ import classNames from 'classnames';

position,
containerPosition = 'absolute',
className,

@@ -29,3 +30,3 @@ // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595

...props,
className: classNames(bsPrefix, position && `position-absolute ${positionClasses[position]}`, className)
className: classNames(bsPrefix, position && [containerPosition ? `position-${containerPosition}` : null, positionClasses[position]], className)
});

@@ -32,0 +33,0 @@ });

{
"name": "react-bootstrap",
"version": "2.3.1",
"version": "2.4.0",
"description": "Bootstrap 5 components built with React",

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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