1.0.0 • Published 3 years ago

native-x-spacer v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
3 years ago

native-x-spacer

semantic-release

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

PropertyDefault ValueUsage
fill?: booleanfalseFill 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 messageRelease type
fix: commentPatch Release
feat: commentMinor Feature Release
perf: commentMajor Feature Release
doc: commentNo Release
refactor: commentNo Release
chore: commentNo Release