@rdey/collapse-button
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

collapse-button

A button indicating a collapse of e.g. an accordion

NPM JavaScript Style Guide

Install

npm install --save collapse-button

Usage

import * as React from 'react'

import CollapseButton from 'collapse-button'

class Example extends React.Component {
  render () {
    return (
      <>
        <CollapseButton active={active} />
        <CollapseButton
          active={active}
          size={320}
          borderWidth={6}
          colorRight="red"
        />
      </>
    )
  }
}

License

MIT © ricsam

Readme

Keywords

none

Package Sidebar

Install

npm i @rdey/collapse-button

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

46.9 kB

Total Files

8

Last publish

Collaborators

  • rdey