New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@lendi-ui/collapse

Package Overview
Dependencies
Maintainers
32
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lendi-ui/collapse

A Collapse component.

latest
npmnpm
Version
4.1.6
Version published
Maintainers
32
Created
Source

@lendi-ui/collapse

A Collapse component.

Installation

yarn add @lendi-ui/collapse

Usage

import Collapse from '@lendi-ui/collapse';
<Collapse title="Collapse Title" />;

Properties

<PropTable>
  <PropTable.Entry name="title" required type="string" description="Title of collapse"/>
  <PropTable.Entry name="subTitle" type="string" description="SubTitle of collapse"/>
  <PropTable.Entry name="isExpanded" type="boolean" defaultValue=false description="expanded/collapsed"/>
  <PropTable.Entry name="footer" type="React.ReactElement" description="Footer of the collapse"/>
  <PropTable.Entry name="onClick" type="(isExpanded) => void" description="Handle the click event. Consumer can get the current state of collapse - expanded/collapsed"/>
  <PropTable.Entry name="children" type="React.ReactNode" description="Content of the collapse"/>
  <PropTable.Entry name="headerSize" type={`"xs" | "sm" | "md"`} defaultValue='sm' description="header size to collapse header"/>
  <PropTable.Entry name="className" defaultValue=""type="string" description="external classname to override style of the component"/>
</PropTable>

FAQs

Package last updated on 13 Oct 2020

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