react-flexbox-ellipsis

1.0.0 • Public • Published

react-flexbox-ellipsis

npm package Travis Module formats

React component to make CSS Ellipsis work with Flexbox

Getting started

react-flexbox-ellipsis

You can download react-flexbox-ellipsis from the NPM registry via the npm or yarn commands

yarn add react-flexbox-ellipsis
npm install react-flexbox-ellipsis --save

If you don't use package manager and you want to include react-flexbox-ellipsis directly in your html, you could get it from the UNPKG CDN

https://unpkg.com/react-flexbox-ellipsis/umd/react-flexbox-ellipsis.js

Usage

import React, {Component} from "react"
import Ellipsis from "react-flexbox-ellipsis"
 
const MY_API_KEY = "AIzaSyDwsdjfskhdbfjsdjbfksiTgnoriOAoUOgsUqOs10J0" // fake
 
const MyComponent = ({children}) => <Ellipsis>{children}</Ellipsis>

Contributing

  • ⇄ Pull/Merge requests and ★ Stars are always welcome.
  • For bugs and feature requests, please create an issue.
  • Pull requests must be accompanied by passing automated tests (npm test).

See CONTRIBUTING.md guidelines

Changelog

See CHANGELOG.md

License

This project is licensed under the MIT License - see the LICENCE.md file for details

Package Sidebar

Install

npm i react-flexbox-ellipsis

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

185 kB

Total Files

7

Last publish

Collaborators

  • cedricdelpoux