README
react-orphanage
A component that justifies text to avoid orphans.
Install
npm install --save react-orphanage
Import
import Orphanage from 'react-orphanage'
Use
<Orphanage>
<p>Lorem ipsum dolor site amet</p>
</Orphanage>
Justifies text to prevent orphaned words
<script type="module">
import reactOrphanage from 'https://cdn.skypack.dev/react-orphanage';
</script>
A component that justifies text to avoid orphans.
npm install --save react-orphanage
import Orphanage from 'react-orphanage'
<Orphanage>
<p>Lorem ipsum dolor site amet</p>
</Orphanage>