Link component for Ink
Link component for Ink
Creates clickable links in the terminal!
npm install ink-linkimport React from 'react';
import {render, Text} from 'ink';
import Link from 'ink-link';
render(
My Website
);For unsupported terminals, the link will be printed after the text: My website https://sindresorhus.com.
Type: string
The URL to link to.
Type: boolean | (text: string, url: string) => string
Default: true
Determines whether the URL should be printed after the text for unsupported terminals: My website https://sindresorhus.com.
Can also be a function that receives the text and URL and returns a custom fallback string.
`[${text}](${url})`}>
My Website
No open issues yet, or sync has not completed.