ink-spinner
Spinner component for Ink
Last updated 4 years ago by vdemedes .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install ink-spinner 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 5.0.0                                ...           latest (2 years ago)
  • 4.0.0-0                                ...           next (5 years ago)

11 Versions

  • 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                                ...           5 years ago
  • 3.1.0                                ...           5 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
Maintainers (1)
Downloads
Total 3
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (17)

© 2010 - cnpmjs.org x YWFE | Home | YWFE