99.10.0 • Published 4 years ago

@temporg/ui-list v99.10.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

category: packages

ui-list

npm  build-status  MIT License  Code of Conduct

Components for displaying vertical or horizontal lists.

Components

The ui-list package contains the following:

Installation

yarn add @temporg/ui-list

Usage

import React from 'react'
import { List } from '@temporg/ui-list'

const MyList = () => {
  return (
    <List>
      <List.Item>List Item One</List.Item>
      <List.Item>List Item Two</List.Item>
      <List.Item>List Item Three</List.Item>
    </List>
  )
}
import React from 'react'
import { InlineList } from '@temporg/ui-list'

const MyList = () => {
  return (
    <InlineList>
      <InlineList.Item>List Item One</InlineList.Item>
      <InlineList.Item>List Item Two</InlineList.Item>
      <InlineList.Item>List Item Three</InlineList.Item>
    </InlineList>
  )
}