0.0.1 • Published 1 year ago

react-balanced v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-balanced

Optically balance text in any HTML element.

Installation

yarn add react-balanced

Usage

import Balanced from 'react-balanced';

const MyComponent = () => (
  <Balanced as="h1">Lorem ipsum dolor sit amet, qui adipisicing elit.</Balanced>
);

Developing

yarn install
  • Run Storybook to test UI
yarn storybook