mirror of
https://github.com/strapi/strapi.git
synced 2025-08-13 19:27:34 +00:00
21 lines
349 B
JavaScript
21 lines
349 B
JavaScript
/**
|
|
*
|
|
* ListItem
|
|
*
|
|
*/
|
|
import React from 'react'; // eslint-disable-line no-unused-vars
|
|
import { Link } from 'react-router';
|
|
|
|
function ListItem(props) {
|
|
return (
|
|
<li>
|
|
<Link to={props.destination} onClick={props.onClick}>
|
|
<h4>{props.title}</h4>
|
|
</Link>
|
|
<p>{props.message}</p>
|
|
</li>
|
|
);
|
|
}
|
|
|
|
export default ListItem;
|