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:
@@ -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>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user