Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/avin/react-size-me

React component to determine parent container size
https://github.com/avin/react-size-me

dimension react resizable resize size

Last synced: 1 day ago
JSON representation

React component to determine parent container size

Awesome Lists containing this project

README

        

# react-size-me

> React component to determine parent container size

[![NPM registry](https://img.shields.io/npm/v/@avinlab/react-size-me.svg?style=for-the-badge)](https://yarnpkg.com/en/package/@avinlab/react-size-me) [![NPM license](https://img.shields.io/badge/license-mit-red.svg?style=for-the-badge)](LICENSE)

## Demo

Here is an [examples page](https://avin.github.io/react-size-me)

## Install

```bash
# Yarn
yarn add @avinlab/react-size-me

# NPM
npm install --save @avinlab/react-size-me
```

## Usage

```js
import React from 'react';
import SizeMe from '@avinlab/react-size-me';



{({ width, height }) => (

)}

```

## License

MIT © [avin](https://github.com/avin)