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

react-accordion-component

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-accordion-component - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

2

package.json
{
"name": "react-accordion-component",
"version": "1.0.8",
"version": "1.0.9",
"description": "Minimal UI Accordion component written in React",

@@ -5,0 +5,0 @@ "main": "js/accordion.js",

@@ -27,3 +27,3 @@ #React Accordion Component

###Example
##Example
```javascript

@@ -39,8 +39,8 @@ var elements = [];

elements.push({
title: 'Element 2',
onClick: function() {
},
content: 'Lorem Ipsum...'
});
elements.push({
title: 'Element 2',
onClick: function() {
},
content: 'Lorem Ipsum...'
});
```

@@ -51,9 +51,7 @@ When rendering (using `jsx`):

```
###Voilà
![](public/accordion_half.jpg)
##Voilà
Click in the [fish eye](http://www.fileformat.info/info/unicode/char/25c9/index.htm) to exapand/collapse each accordion element.
![](public/accordion_half.jpg)
![](public/accordion.jpg)
#Notes

@@ -60,0 +58,0 @@ In the `index.html` under `examples/` I've used Source Sans Pro font from Google Fonts. Feel free to change the font in `accordion.css` to your preferred font.

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