about summary refs log tree commit diff
path: root/src/components/verification/VerificationCheck.tsx
blob: 4f41c668240726b338cc53a532bddb1adfa51bee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import {type Props} from '#/components/icons/common'
import {VerifiedCheck} from '#/components/icons/VerifiedCheck'
import {VerifierCheck} from '#/components/icons/VerifierCheck'

export function VerificationCheck({
  verifier,
  ...rest
}: Props & {
  verifier?: boolean
}) {
  return verifier ? <VerifierCheck {...rest} /> : <VerifiedCheck {...rest} />
}