Fixed a bug with setting the line-height property for child nodes
Two import options are now available
import webkitLineClamp from 'webkit-line-clamp';
// or
import { webkitLineClamp } from 'webkit-line-clamp';
- Fixed error calculating the height of the container containing variable-height text
- Added ability to use in browser
- Added work example
Add index.d.ts
for use with Typescript
Bug fix