react-component-queries icon indicating copy to clipboard operation
react-component-queries copied to clipboard

Provide props to your React Components based on their Width and/or Height.

Results 12 react-component-queries issues
Sort by recently updated
recently updated
newest added

Any chance of getting TypeScript support? I've already written simple typings (based on react-redux) covering just my use case. I think that's a good start. I don't have currently time...

React 16.9.0 started to display warning whenever old componentWill* hooks are being used: https://reactjs.org/blog/2019/08/08/react-v16.9.0.html#new-deprecations A quick solution is to prefix them with `UNSAFE_*`

There was an inconsistency between the component query function returning a prop and a different prop being used in the render function of the component itself. This PR clarifies what...

Depends on `Object.assign` which is missing in e.g. iOS 8 Safari

Ok - first pull request here so sorry if I did not follow any special rules to it :-). Anyway, this just allows defining `sizePassthrough` with a boolean or a...

I have the case that I built a component which needs to be resizable on its own, but must use another component which is also resizable: ```js let InnerResizable =...

Added ability to specify monitorPosition as well.

Hey! Love the this - great tool thanks as always -- pretty sure I use more of your packages than anyones. :) Anyway, so the issue I have is that...

First of, thanks for creating this -- seems a very promising tool for complex, responsive layouts. I am trying to access the assigned props to components from a parent, but...