An open API service indexing awesome lists of open source software.

https://github.com/rintoj/native-x-spacer


https://github.com/rintoj/native-x-spacer

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

# native-x-spacer

[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

This component adds space between to other components

## Install

### Yarn

```sh
yarn add native-x-spacer
```

### NPM

```sh
npm install native-x-spacer
```

## Usage

```tsx
import { Spacer } from 'native-x-spacer'

function MyComponent() {
return (

...

...

)
}
```

## 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 |