import React, { Fragment } from 'react'; import { VerifyIcon } from '../../components/icons'; import './verification.css'; interface VerificationProps { slug: string; onVerify: (slug: string, verify: boolean) => void; user_verified: boolean; user_verified_as: string; verified_count: number; allow_verify: boolean; } const Verification: React.FunctionComponent = (props) => (
{props.verified_count || 0} { props.allow_verify? props.user_verified? Verified as "{props.user_verified_as}" : : null }
); export default Verification;