Skip to content

patchkit/patchkit-channel-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Channel List

Popup list of discussion channels.

screenshot.png

import ChannelList from 'patchkit-channel-list'

const channels = [
  { name: 'apples' },
  { name: 'bananas' },
  { name: 'carrots' }
]
const onSelect = c => console.log('selected', c)
<ChannelList channels={channels} onSelect={onSelect} />

Styles

Use the .less file:

@import "node_modules/patchkit-channel-list/styles.less"