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

@acodez/accordian

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acodez/accordian

Made with create-react-library

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
4
Weekly downloads
 
Created
Source

@acodez/accordian

npm_version license


  • Installation
  • PropsAPI
  • Usage

Installation

npm install @acodez/accordian

Props API

PropertyTypeRequiredDefault valueDescription
titlestringyes accordian heading
namestringyes accordian unique name
openstringno accordian open or not , value true or false
handleAccordianstringyes function return clicked accordian name,value
messagestringno accordian message displayed side to title

Usage


import Accordian  from '@acodez/accordian';
import '@acodez/accordian/dist/index.css';


<Accordian title="item1" name="item1" open={true} onClick={handleAccordian} message="Lorem"> Lorem ipsum, or lipsum as it is sometimes known, is dummy text used in laying out print, graphic or web designs. The passage is attributed to an unknown typesetter in the 15th century who is thought to have scrambled parts of Cicero's De Finibus Bonorum et Malorum for use in a type specimen book. </Accordian>

 const handleAccordian=({name,value})=>{   }

FAQs

Package last updated on 16 Mar 2021

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