@nodestrap/list
TypeScript icon, indicating that this package has built-in type declarations

4.0.15 • Public • Published

<List></List>

Represents a series of content.

Preview

<List tag='ol' theme='primary' size='lg' gradient={true} outlined={true}>
    <ListItem>hello</ListItem>
    <ListItem>world</ListItem>
    <ListSeparatorItem />
    <ListItem theme='danger'>important</ListItem>
    <ListItem actionCtrl={true} onClick={() => console.log('tadaa!')}>click me</ListItem>
    // ...
</List>

Rendered to:

<ol class="c1 thPrimary szLg gradient outlined">
    <li>/* ... */</li>
    <li>/* ... */</li>
    <li>/* ... */</li>
</ol>

Features

Installation

Using npm:

npm i @nodestrap/list

Support Us

If you feel our lib is useful for your projects,
please make a donation to avoid our project from extinction.

We always maintain our projects as long as we're still alive.

[Make a donation]

Package Sidebar

Install

npm i @nodestrap/list

Weekly Downloads

3

Version

4.0.15

License

ISC

Unpacked Size

121 kB

Total Files

6

Last publish

Collaborators

  • heymarco