native-x-spacer
v1.0.0
Published
This component adds space between items in Stack
Downloads
603
Readme
native-x-spacer
This component adds space between to other components
Install
Yarn
yarn add native-x-spacer
NPM
npm install native-x-spacer
Usage
import { Spacer } from 'native-x-spacer'
function MyComponent() {
return (
<Stack>
...
<Spacer />
...
</Stack>
)
}
API
| Property | Default Value | Usage | | -------------- | ------------- | -------------------------------------------------------------------------------------- | | fill?: boolean | false | Fill container or available space | | size?: string | 'normal' | Valid values: 'xx-small', 'x-small', 'small', 'normal', 'large', 'x-large', 'xx-large' |
Automatic Release
Here is an example of the release type that will be done based on a commit messages:
| Commit message | Release type | | ------------------- | --------------------- | | fix: [comment] | Patch Release | | feat: [comment] | Minor Feature Release | | perf: [comment] | Major Feature Release | | doc: [comment] | No Release | | refactor: [comment] | No Release | | chore: [comment] | No Release |