0.16.3 • Published 9 years ago

react-bar v0.16.3

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

react-bar

Composable component maximizer / compressor for React.

Build Status codecov

NPM

Install

npm install -S react-bar

Usage

import React from 'react'
import reactBar from 'react-bar'

/** reactBar is a factory that exports the maximize component. */
const Maximize = reactBar({ React })

export default props => (
  <Maximize
      shouldComponentMaximize={() => true}
      shouldComponentCompress={() => true}
  >
    {maximize => (
      <div>
        <span style={{ float: 'right' }}>
          {maximize.Controls}
        </span>
      </div>
    )}
  </Maximize>
)

Test

See react-bar's test project at react-bar-test

In active development, come back in a few days.

0.16.3

9 years ago

0.16.1

9 years ago

0.15.0

9 years ago

0.13.1

9 years ago

0.14.1

9 years ago

0.14.0

9 years ago

0.12.1

9 years ago

0.12.0

9 years ago

0.11.6

9 years ago

0.11.5

9 years ago

0.11.4

10 years ago

0.11.3

10 years ago

0.11.2

10 years ago

0.11.1

10 years ago

0.11.0

10 years ago

0.10.1

10 years ago

0.10.0

10 years ago

0.9.2

10 years ago

0.9.1

10 years ago

0.9.0

10 years ago

0.8.1

10 years ago

0.8.0

10 years ago

0.7.3

10 years ago

0.7.2

10 years ago

0.7.1

10 years ago

0.7.0

10 years ago

0.6.4

10 years ago

0.6.3

10 years ago

0.6.0

10 years ago

0.5.5

10 years ago