Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 515 Bytes

spinner.md

File metadata and controls

29 lines (18 loc) · 515 Bytes

Spinner

Spinner indicates that something is being processed and CLI is waiting for it to complete.

Theme | Example code

Usage

import React from 'react';
import {render, Box} from 'ink';
import {Spinner} from '@inkjs/ui';

function Example() {
	return <Spinner label="Loading" />;
}

render(<Example />);

Props

label

Type: string

Label to show next to the spinner.