Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-simple-show-more

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-simple-show-more - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

es/index.js

@@ -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 | '...' |

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc