https://github.com/rintoj/native-x-spinner
https://github.com/rintoj/native-x-spinner
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rintoj/native-x-spinner
- Owner: rintoj
- Created: 2021-02-05T18:21:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-10T10:29:12.000Z (almost 5 years ago)
- Last Synced: 2026-01-02T22:41:25.056Z (6 months ago)
- Language: TypeScript
- Size: 165 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# native-x-spinner
[](https://github.com/semantic-release/semantic-release)
This component adds space between to other components
## Install
### Yarn
```sh
yarn add native-x-spinner
```
### NPM
```sh
npm install native-x-spinner
```
## Usage
```tsx
import { Spinner } from 'native-x-spinner'
function MyComponent() {
return (
...
...
)
}
```
## API
| Property | Default Value | Usage |
| ------------------- | --------------- | -------------------------------------------------------------- |
| animating?: boolean | true | Animate the spinner |
| color?: string | COLOR.SECONDARY | Color of spinner |
| size?: string | 'normal' | Valid values: 'x-small', 'small', 'normal', 'large', 'x-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 |