react-flexbox-ellipsis
v1.0.0
Published
React component to make CSS Ellipsis work with Flexbox
Downloads
3
Maintainers
Readme
react-flexbox-ellipsis
React component to make CSS Ellipsis work with Flexbox
Getting started
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