ink-big-text
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/ink-big-text package

2.0.0 • Public • Published

ink-big-text

Awesome text component for Ink

Install

npm install ink-big-text

Usage

import React from 'react';
import {render} from 'ink';
import Gradient from 'ink-gradient';
import BigText from 'ink-big-text';

render(
	<Gradient name="rainbow">
		<BigText text="unicorns"/>
	</Gradient>
);

API

<BigText/>

Props except for text are passed as options to cfonts. The only difference is that the background option is named backgroundColor here. See the prop types in index.js for more.

Related

/ink-big-text/

    Package Sidebar

    Install

    npm i ink-big-text

    Weekly Downloads

    10,534

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    5.56 kB

    Total Files

    6

    Last publish

    Collaborators

    • sindresorhus