1.0.0 • Published 7 years ago
react-clearfix v1.0.0
READMDE
A clearfix component for React projects.
Usage
import Clearfix from 'react-clearfix';
class YourComponent extends React.Component {
render() {
<div>
{/* Insert floated element(s) here */}
<Clearfix/>
</div>
}
}
Elements placed below <Clearfix/>
will flow beneath the floated elements.
Notes
This package comes with a Typescript definition file.
License
MIT (See License)
1.0.0
7 years ago