UNPKG

@shopify/cli-kit

Version:

A set of utilities, interfaces, and models that are common across all the platform features

15 lines (14 loc) 485 B
import { InlineToken, LinkToken, TokenItem, UserInputToken } from '../TokenizedText.js'; import { TextProps } from 'ink'; import { FunctionComponent } from 'react'; export interface InfoMessageProps { message: { title: { color?: TextProps['color']; text: TokenItem<Exclude<InlineToken, UserInputToken | LinkToken>>; }; body: TokenItem; }; } declare const InfoMessage: FunctionComponent<InfoMessageProps>; export { InfoMessage };