1.1.0 • Published 2 years ago

native-x-stack v1.1.0

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

native-x-stack

semantic-release

This modules helps you define stacked views in React Native application

Install

Yarn

yarn add native-x-stack

NPM

npm install native-x-stack

Usage

import { Stack } from 'native-x-stack'

function MyComponent() {
  return <Stack fill>
    {...}
  </Stack>
}

API

PropertyDefault ValueUsage
hAlign?: HAlignHorizontal alignment: HAlign.{LEFT, CENTER, RIGHT}
vAlign?: VAlignVertical alignment: HAlign.{TOP, MIDDLE, BOTTOM}
justifyAround?: booleanfalseJustify around items in the stack
justifyBetween?: booleanfalseMove items towards the corner of the stack
reverse?: booleanfalseReverse the direction of flex
horizontal?: booleanfalseStack items horizontally if true
fill?: booleannumberFill parent or set style to { flex: ${fill} }
wrap?: booleanfalseWrap content once reached the end of the current row
zIndex?: numberZ-Index ordering
width?: numberWidth of the stack
height?: numberHeight of the stack
minWidth?: numberMin width of the stack
minHeight?: numberMin height of the stack
maxWidth?: numberMax width of the stack
maxHeight?: numberMax height of the stack
spacing?: numberSpacing between items
overflow?: OverflowMake content visible beyond content borders, Overflow.{VISIBLE,HIDDEN}
onLayout?: (event: LayoutChangeEvent) => voidfalseCallback handler for layout changes
style: ViewStyleAdditional style

Automatic Release

Here is an example of the release type that will be done based on a commit messages:

Commit messageRelease type
fix: commentPatch Release
feat: commentMinor Feature Release
perf: commentMajor Feature Release
doc: commentNo Release
refactor: commentNo Release
chore: commentNo Release
1.1.0

2 years ago

1.0.12

3 years ago

1.0.9

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago