1.1.3 • Published 12 days ago

@igloo-ui/disclosure v1.1.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
12 days ago

Disclosure

A disclosure is a widget that toggles the visibility of content by clicking a button.

Installation

To install @igloo-ui/disclosure in your project, you will need to run the following command using npm:

npm install @igloo-ui/disclosure

If you prefer Yarn, use the following command instead:

yarn add @igloo-ui/disclosure

Usage

Then to use the component in your code just import it!

import Substract from '@igloo-ui/icons/dist/Substract';

import Disclosure from '@igloo-ui/disclosure';

<Disclosure
  title="Diversity"
  icon={<Substract size="large" />}
  description="0.8pt in the last 30 days"
>
  <div style={{ background: '#F7F9FA', padding: '2.4rem' }}>
    Our organization values diversity.
  </div>
</Disclosure>;
1.1.3

12 days ago

1.1.2

1 month ago

1.1.1

3 months ago

1.1.0

4 months ago

1.0.4

4 months ago

1.0.3

4 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago

0.3.0

7 months ago

0.2.1

10 months ago

0.2.3

9 months ago

0.3.1

6 months ago

0.2.2

9 months ago

0.2.0

11 months ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.0

1 year ago