0.16.3 • Published 8 years ago
react-maximize v0.16.3
react-maximize
Composable component maximizer / compressor for React.
Install
npm install -S react-maximize
Usage
import React from 'react'
import reactMaximize from 'react-maximize'
/** reactMaximize is a factory that exports the maximize component. */
const Maximize = reactMaximize({ React })
export default props => (
<Maximize
shouldComponentMaximize={() => true}
shouldComponentCompress={() => true}
>
{maximize => (
<div>
<span style={{ float: 'right' }}>
{maximize.Controls}
</span>
</div>
)}
</Maximize>
)
Test
See react-maximize's test project at react-maximize-test
In active development, come back in a few days.
0.16.3
8 years ago
0.16.2
8 years ago
0.16.1
8 years ago
0.15.0
8 years ago
0.13.1
8 years ago
0.14.1
8 years ago
0.14.0
8 years ago
0.12.1
8 years ago
0.12.0
8 years ago
0.11.6
8 years ago
0.11.5
8 years ago
0.11.4
8 years ago
0.11.3
8 years ago
0.11.2
8 years ago
0.11.1
8 years ago
0.11.0
8 years ago
0.10.1
8 years ago
0.10.0
8 years ago
0.9.2
8 years ago
0.9.1
8 years ago
0.9.0
8 years ago
0.8.1
8 years ago
0.8.0
8 years ago
0.7.3
8 years ago
0.7.2
8 years ago
0.7.1
8 years ago
0.7.0
8 years ago
0.6.4
8 years ago
0.6.3
8 years ago
0.6.0
8 years ago
0.5.5
8 years ago
0.5.4
8 years ago
0.5.3
8 years ago
0.5.2
8 years ago