1.0.0 • Published 7 years ago

react-clearfix v1.0.0

Weekly downloads
3
License
MIT
Repository
-
Last release
7 years ago

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)