@types/ink-spinner
TypeScript icon, indicating that this package has built-in type declarations

3.0.4 • Public • Published

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

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/ink-spinner

Weekly Downloads

5,377

Version

3.0.4

License

MIT

Unpacked Size

3.75 kB

Total Files

5

Last publish

Collaborators

  • types