5.0.0 • Published 2 years ago

ink-spinner v5.0.0

Weekly downloads
170,178
License
MIT
Repository
github
Last release
2 years ago

ink-spinner test

Spinner component for Ink. Uses cli-spinners for the collection of spinners.

Looking for a version compatible with Ink 2.x? Check out this release.

Install

$ npm install ink-spinner

Usage

import React from 'react';
import { render, Text } from 'ink';
import Spinner from 'ink-spinner';

render(
	<Text>
		<Text color="green">
			<Spinner type="dots" />
		</Text>
		{' Loading'}
	</Text>
);

Props

type

Type: string Defaults: dots

Type of a spinner. See cli-spinners for available spinners.

5.0.0

2 years ago

4.0.3

3 years ago

4.0.2

4 years ago

4.0.1

4 years ago

4.0.0

4 years ago

4.0.0-0

4 years ago

3.1.0

4 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.0.0

7 years ago

1.0.0

7 years ago