3.0.4 • Published 6 months ago

@types/ink-spinner v3.0.4

Weekly downloads
1,130
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/ink-spinner

Summary

This package contains type definitions for ink-spinner (https://github.com/vadimdemedes/ink-spinner#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ink-spinner.

index.d.ts

// Type definitions for ink-spinner 3.0
// Project: https://github.com/vadimdemedes/ink-spinner#readme
// Definitions by: Łukasz Ostrowski <https://github.com/lukostry>, Justin Anastos <https://github.com/justinanastos>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

import * as cliSpinners from 'cli-spinners';
import { Component } from 'react';

interface SpinnerProps {
    /**
     * Type of a spinner to use. See https://github.com/sindresorhus/cli-spinners for available spinners.
     *
     * @default 'dot'
     */
    type?: cliSpinners.SpinnerName | undefined;
}

declare class Spinner extends Component<SpinnerProps> {}

export = Spinner;

Additional Details

Credits

These definitions were written by Łukasz Ostrowski, and Justin Anastos.

3.0.4

6 months ago

3.0.3

7 months ago

3.0.2

8 months ago

3.0.1

3 years ago

3.0.0

4 years ago

2.0.3

4 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago