native-x-spacer
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

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

Readme

Keywords

none

Package Sidebar

Install

npm i native-x-spacer

Weekly Downloads

71

Version

1.0.0

License

MIT

Unpacked Size

4.63 kB

Total Files

7

Last publish

Collaborators

  • rintoj