Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@bothrs/react-native-layout
Advanced tools
Utility components for handling interface layouts in React Native.
Utility components for handling interface layouts in React Native.
yarn add @bothrs/react-native-layout
import { Padding, Margin, Spacing, Line } from "@bothrs/react-native-layout";
// ...
A container component that applies the margin or padding around its children.
Props
amount
top?
: number | stringright?
: number | stringbottom?
: number | stringleft?
: number | stringhorizontal?
: number | stringvertical?
: number | stringbackgroundColor?
: stringonLayout?
: (e: LayoutChangeEvent) => voidA component that renders with the given width or height.
Props
width?
: number | stringheight?
: number | stringflex?
: booleanA component that renders a line with a given color and thickness.
Props
color
: stringdirection?
: 'horizontal' | 'vertical'thickness?
: numberA component that helps with aligning a Flex container.
A component that helps with aligning a Flex container.
Props
alignItems
: 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline'A component that helps with aligning a Flex container.
Props
alignItems
: 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline'justifyContent
: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly'See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
Utility components for handling interface layouts in React Native.
The npm package @bothrs/react-native-layout receives a total of 3 weekly downloads. As such, @bothrs/react-native-layout popularity was classified as not popular.
We found that @bothrs/react-native-layout demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.