1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 10:58:33 +00:00

change frontend code

This commit is contained in:
Michael An
2023-11-22 17:31:08 +08:00
parent 6190789d6a
commit c2363961be
18 changed files with 583 additions and 79 deletions

View File

@@ -0,0 +1,23 @@
import React from 'react';
import Icon from '../../icon';
import { gettext } from '../../../utils/constants';
import './ai-search-help.css';
export default function AISearchHelp() {
return (
<div className="ai-search-help">
<div className="ai-search-help-title">{gettext('Is this answer helpful to you')}{':'}</div>
<div className='ai-search-help-container'>
<div className="ai-search-help-detail" key={1}>
<Icon symbol='helpful' />
<span className="pl-1">Yes</span>
</div>
<div className="ai-search-help-detail" key={2}>
<Icon symbol='helpless' />
<span className="pl-1">No</span>
</div>
</div>
</div>
);
}