forked from Gitlink/forgeplus-react
17 lines
549 B
JavaScript
17 lines
549 B
JavaScript
import React from 'react';
|
|
import './sub.scss';
|
|
import CopyTool from '../../Component/CopyTool';
|
|
|
|
function Invite({code,className}) {
|
|
|
|
return(
|
|
<div className={className}>
|
|
<span className="font-16 color-grey-6">邀请码</span>
|
|
<div>
|
|
<span id="devitecode">{code}</span>
|
|
<CopyTool timeOut={true} beforeText={<p className="edu-txt-center">可以通过邀请码邀请成员加入项目<br/>点击复制邀请码。</p>} className="ml8 font-16" inputId="devitecode"/>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
export default Invite; |