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

@types/react-lines-ellipsis

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-lines-ellipsis - npm Package Compare versions

Comparing version 0.15.3 to 0.15.4

react-lines-ellipsis/lib/html.d.ts

4

react-lines-ellipsis/package.json
{
"name": "@types/react-lines-ellipsis",
"version": "0.15.3",
"version": "0.15.4",
"description": "TypeScript definitions for react-lines-ellipsis",

@@ -26,4 +26,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-lines-ellipsis",

},
"typesPublisherContentHash": "241c341a5a5f46cbfab6971cdd21c51b785d17b5871444c93ff34ab8534b829d",
"typesPublisherContentHash": "abf11804e995dd06063d38c250ca1a1b31423f69c2d3e0ca9b64274607497480",
"typeScriptVersion": "4.5"
}

@@ -9,42 +9,5 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-lines-ellipsis.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-lines-ellipsis/index.d.ts)
````ts
import { Component, HTMLAttributes } from "react";
declare class LinesEllipsis extends Component<LinesEllipsis.ReactLinesEllipsisProps> {
static defaultProps?: LinesEllipsis.ReactLinesEllipsisProps;
}
declare namespace LinesEllipsis {
type CommonReactLinesEllipsisProps = HTMLAttributes<HTMLDivElement> & {
maxLine?: number | string;
ellipsis?: string;
trimRight?: boolean;
basedOn?: "letters" | "words";
winWidth?: number;
onReflow?: ({ clamped, text }: { clamped: boolean; text: string }) => void;
component?: string;
};
type HTMLEllipsisProps = CommonReactLinesEllipsisProps & {
unsafeHTML?: string;
ellipsisHTML?: string;
};
type LinesEllipsisLooseProps = CommonReactLinesEllipsisProps & {
lineHeight?: number;
overflowFallback?: boolean;
};
type ReactLinesEllipsisProps = CommonReactLinesEllipsisProps & {
text?: string;
};
}
export = LinesEllipsis;
````
### Additional Details
* Last updated: Wed, 18 Oct 2023 11:45:05 GMT
* Last updated: Wed, 18 Oct 2023 18:04:04 GMT
* Dependencies: [@types/lodash](https://npmjs.com/package/@types/lodash), [@types/react](https://npmjs.com/package/@types/react)

@@ -51,0 +14,0 @@

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