
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
react-resizer-component
Advanced tools
A resizer component as a standalone library for resizing layout using Flow and styled components.

Use the package manager npm to install react resizer component.
npm install react-resizer-component
You can check the example folder in this repository for more help.
import Layout from "react-resizer-component";
<Layout
resize={"vertical"}
width={500}
height={50}
background={"blue"}
/>
| Props | Type | Default | Description |
|---|---|---|---|
| width | number | 300 | Size in width |
| height | number | 300 | Size in height |
| resize | "string" | "both" | Change the size horizontal,vertical,both |
| background | "string" | "none" | Background color |
| repeat | "string" | "no-repeat" | Sets if/how a background image will be repeated repeat,repeat-x,repeat-y,no-repeat,space,round,initial,inherit |
| size | "string" | "cover" | Defines the size of the background images for the element contain,cover,auto,length,percentage,initial,inherit |
| image | "string" | "" | Add an image |
| overflow | "string" | auto | specifies what should happen if content overflows an element's box |
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
FAQs
A react resizer component as a standalone library.
We found that react-resizer-component demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.