2.2.0 • Published 2 years ago

@s-ui/react-list-link v2.2.0

Weekly downloads
128
License
MIT
Repository
-
Last release
2 years ago

ListLink

Show a list of links, that could be React Router Links or HTML links. You could show these links also inline or one-per-line style as a list.

Installation

$ npm install @s-ui/react-list-link --save

Usage

Basic usage

import ListLink from '@s-ui/react-list-link'

const listOfLinks = [
  {
    literal: 'Alquiler de pisos en Madrid Capital',
    title: 'Element title',
    target: '_parent',
    url: 'http://fotocasa.es',
    disabled: true,
    customclass: 'sui-Link-disabled'
  },
  {
    literal: 'Comprar pisos',
    title: 'Element title',
    target: '_parent',
    url: 'http://fotocasa.es',
    disabled: true,
    customclass: 'sui-Link-disabled'
  }
]

return (
  <ListLink
    list={listOfLinks}
    displayInline />
  />
)

Find full description and more examples in the demo page.

2.2.0

2 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.8.0

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago