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

@fenderdigital/react-accordion

Package Overview
Dependencies
Maintainers
6
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fenderdigital/react-accordion

Fender React UI Kit Accordion Component

  • 1.6.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-77.78%
Maintainers
6
Weekly downloads
 
Created
Source

Accordion for Fender React UI Kit

Description

The Accordion component is used to expand and collapse content.

Installation and Usage

yarn add @fenderdigital/react-accordion --save
import Accordion from '@fenderdigital/react-accordion';

Props

  • children - renders any child elements
  • disableTriangle - hides the up/down triangle arrow
  • hasAnimation - enables animations for the expanded / collapsed states
  • icon - accepts an icon element that renders to the left of the label
  • isVisible - the current collapsed / expanded state
  • label - the button label
  • onCallback - callback after the visibility state is set
  • styles - tachyon classes for the button
  • transition - accepts a prop for transtion effects
propNamepropTypedefaultValueisRequired
childrennodenull-
disableTrianglenodenull-
hasAnimationbooleantrue-
iconnodenull-
isVisiblebooleanfalse-
labelstringnull-
onCallbackfunc() => {}-
stylesfuncflex-
transitionstringnull-

Development

Check the Monorepo README for development documentation.

Keywords

FAQs

Package last updated on 14 Oct 2019

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