21 lines
358 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export type CanIUseMode = 'embed' | 'image'
export interface CanIUseTokenMeta {
feature: string
mode: CanIUseMode
versions: string
}
export interface CanIUseOptions {
/**
* 嵌入模式
*
* embed 通过iframe嵌入提供可交互视图
*
* image 通过图片嵌入,静态
*
* @default 'embed'
*/
mode?: CanIUseMode
}