⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.72
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
grafana
/
public
/
app
/
features
/
invites
/
View File Name :
InviteeRow.tsx
import React, { PureComponent } from 'react'; import { connect, ConnectedProps } from 'react-redux'; import { Button, ClipboardButton } from '@grafana/ui'; import { Invitee } from 'app/types'; import { revokeInvite } from './state/actions'; const mapDispatchToProps = { revokeInvite, }; const connector = connect(null, mapDispatchToProps); interface OwnProps { invitee: Invitee; } export type Props = OwnProps & ConnectedProps
; class InviteeRow extends PureComponent
{ render() { const { invitee, revokeInvite } = this.props; return (
{invitee.email}
{invitee.name}
invitee.url}> Copy Invite
revokeInvite(invitee.code)} aria-label="Revoke Invite" />
); } } export default connector(InviteeRow);