Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

embla-carousel-react

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

embla-carousel-react - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

2

lib/index.d.ts

@@ -6,2 +6,3 @@ import EmblaCarousel, { UserOptions } from 'embla-carousel';

children?: ReactNode;
className?: string;
options?: UserOptions;

@@ -15,2 +16,3 @@ emblaRef: (embla: EmblaCarousel) => void;

render(): React.ReactElement<{
className: string | undefined;
ref: React.RefObject<HTMLElement>;

@@ -17,0 +19,0 @@ style: {

@@ -172,2 +172,3 @@ module.exports =

return react_1["default"].createElement(this.props.htmlTagName, {
className: this.props.className,
ref: this.container,

@@ -174,0 +175,0 @@ style: {

2

package.json
{
"name": "embla-carousel-react",
"version": "0.0.9",
"version": "0.0.10",
"author": "David Cetinkaya",

@@ -5,0 +5,0 @@ "private": false,

@@ -30,2 +30,3 @@ <br />

- [Usage](#usage)
- [Props](#props)
- [License](#license)

@@ -35,3 +36,3 @@

> Try it here on the [Demo Page](https://davidcetinkaya.github.io/embla-carousel) or [CodeSandbox](https://codesandbox.io/s/embla-carousel-loop-false-oyols) ✨.
> Try it on the [Demo Page](https://davidcetinkaya.github.io/embla-carousel) or [CodeSandbox](https://codesandbox.io/s/embla-carousel-react-znjzv) ✨.

@@ -98,5 +99,12 @@ ## Implementations

## Props
- **`htmlTagName`** - Any valid HTML tag like `div` or `ul` etc.
- **`className`** - Applied to top the top level wrapper.
- **`emblaRed`** - Like a ref function to access the Embla instance in parent component.
- **`options`** - Same [options](https://github.com/davidcetinkaya/embla-carousel#options) as the vanilla JS Embla package.
## License
Embla is [MIT licensed](./LICENSE).
Embla is [MIT licensed](./LICENSE).
Copyright © 2019-present, David Cetinkaya.
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