1.0.9 • Published 2 years ago

react-autosize-container v1.0.9

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

React AutoSize Container

AutoSize component provide dimensions of container

Getting started

yarn add react-autosize-container --save

Usage

import { AutoSize } from 'react-autosize-container'

export const TestExample = () => (
  <AutoSize>
    {({ width, height }) => (
      <span>
        My container is {width}px x {height}px
      </span>
   )}  
  </AutoSize>
)
1.0.9

2 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago