ddeltree / oneliner

A react component that keeps the text within a single line and resizes it to the available width

Home Page:https://davi-alexandre.github.io/oneliner/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Oneliner

All the relevant code is in the /components/ and /src/ directories. The rest of it was generated for the purpose of demonstration. To use them, you should copy these folders to your project.

There are two components: OnelinerHTM and OnelinerSVG, the latter being preferred. OnelinerHTM can have arbitrary html as children, while OnelinerSVG only SVG children.

About

A react component that keeps the text within a single line and resizes it to the available width

https://davi-alexandre.github.io/oneliner/

License:MIT License


Languages

Language:TypeScript 95.1%Language:JavaScript 3.4%Language:CSS 1.5%