Usage
import ReactHeightBracket from 'react-height-bracket'; ReactDOM document);
API
name | type | default | description |
---|---|---|---|
scroll | Boolean | false | whether fix component's height |
container | String | Window | Window | |
siblingsHeight | number | 0 |
Example
online example: https://ding-js.github.io/react-height-bracket/example/build/