mirror of
https://github.com/BoostIo/Boostnote
synced 2026-01-03 20:19:17 +00:00
list tags
This commit is contained in:
21
browser/components/TagListItem.js
Normal file
21
browser/components/TagListItem.js
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* @fileoverview Micro component for showing TagList.
|
||||
*/
|
||||
import React, { PropTypes } from 'react'
|
||||
import styles from './TagListItem.styl'
|
||||
import CSSModules from 'browser/lib/CSSModules'
|
||||
|
||||
/**
|
||||
* @param {string} name
|
||||
*/
|
||||
|
||||
const TagListItem = (({name}) => {
|
||||
return (
|
||||
<button>
|
||||
{name}
|
||||
</button>
|
||||
)
|
||||
})
|
||||
|
||||
export default CSSModules(TagListItem, styles)
|
||||
|
||||
0
browser/components/TagListItem.styl
Normal file
0
browser/components/TagListItem.styl
Normal file
Reference in New Issue
Block a user