Files
chat/client/packages/design/components/Highlight/index.tsx

8 lines
281 B
TypeScript
Raw Normal View History

2026-04-25 16:36:34 +08:00
import React, { PropsWithChildren } from 'react';
import styles from './index.module.less';
export const Highlight: React.FC<PropsWithChildren> = React.memo((props) => {
return <span className={styles.highLight}>{props.children}</span>;
});
Highlight.displayName = 'Highlight';