talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 1 | import React from 'react'; |
2 | |||||
3 | const ShowMore = ({children}) => { | ||||
4 | if (children.length > 50) { | ||||
5 | return (<div>Show Message With More Mock</div>); | ||||
6 | } else { | ||||
7 | return (<div>Show Message Mock</div>); | ||||
8 | } | ||||
9 | }; | ||||
10 | export default ShowMore; |