react-simple-show-more
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -64,3 +64,3 @@ var _class, _temp; | ||
}, | ||
showMore ? 'Show less' : 'Show more' | ||
showMore ? ' Show less' : ' Show more' | ||
) | ||
@@ -67,0 +67,0 @@ ); |
@@ -75,3 +75,3 @@ 'use strict'; | ||
}, | ||
showMore ? 'Show less' : 'Show more' | ||
showMore ? ' Show less' : ' Show more' | ||
) | ||
@@ -78,0 +78,0 @@ ); |
{ | ||
"name": "react-simple-show-more", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Simple Show More Component for React", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -13,6 +13,8 @@ # React Simple Show More | ||
Very simple and lightweight `Show More` feature. It is in alpha testing. Please make an issue if you have any suggestion or feature request. | ||
Very simple and lightweight `Show More` feature. | ||
It is in alpha testing. Please make an issue if you have any suggestion or feature request. | ||
## Table of contents | ||
- [Installation](#installation | ||
- [Installation](#installation) | ||
- [Overview](#overview) | ||
@@ -31,3 +33,5 @@ - [Usage](#usage) | ||
## Overview | ||
Very simple Show more feature | ||
Very simple Show more feature. | ||
This package guarantees you not to collapse in middle of the word. | ||
For example: with length `23` = "I just want to say Hello" => "I just want to say" (not "I just want to say Hell") | ||
@@ -62,3 +66,3 @@ ## Usage | ||
| length | string, number | no | 170 | | ||
| tag | string | no | span | | ||
| tag | string | no | 'span' | | ||
| className | string | no | '' | | ||
@@ -65,0 +69,0 @@ | ellipsis | string | no | '...' | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9926
76