Nonstop Progressive Marxism

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

    1.2.0 • Public • Published

    ink-big-text Build Status

    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

    Install

    npm i ink-big-text

    DownloadsWeekly Downloads

    3,317

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    4.98 kB

    Total Files

    4

    Last publish

    Collaborators

    • sindresorhus