mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-20 23:51:31 +03:00
15 lines
281 B
JavaScript
15 lines
281 B
JavaScript
import * as React from "react";
|
|
|
|
export default class Label extends React.Component {
|
|
render() {
|
|
const { labels } = this.props;
|
|
return (
|
|
<div>
|
|
{labels.map(label => {
|
|
return <a key={label.id}>{label.name}</a>;
|
|
})}
|
|
</div>
|
|
);
|
|
}
|
|
}
|