react-clearfix
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i react-clearfix

Weekly Downloads

13

Version

1.0.0

License

MIT

Last publish

Collaborators

  • andrewsinner