mirror of
https://github.com/BoostIo/Boostnote
synced 2026-06-02 12:43:14 +00:00
list tags
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user