mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-24 06:45:59 +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>
|
|
);
|
|
}
|
|
}
|