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
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: @types/cli-spinners, @types/react
Credits
These definitions were written by Łukasz Ostrowski, and Justin Anastos.