UNPKG

@aplus-frontend/ui

Version:

15 lines (14 loc) 259 B
export type HighlightProps = { /** * 当前渲染的段落内容 */ content: string; /** * 需要高亮的关键字 */ keywords?: string | string[]; /** * 是否忽略大小写 */ ignoreCase?: boolean; };