chore: invites ui improvements

This commit is contained in:
Aman Harwara
2023-08-08 22:15:58 +05:30
parent c167f2b29b
commit 02dda6d0fe
6 changed files with 93 additions and 81 deletions

View File

@@ -1,13 +1,16 @@
import Icon from '@/Components/Icon/Icon'
import { classNames } from '@standardnotes/snjs'
export const CheckmarkCircle = () => {
export const CheckmarkCircle = ({ className }: { className?: string }) => {
return (
<button
className={
'peer flex h-5 w-5 flex-shrink-0 items-center justify-center rounded-full bg-success text-success-contrast'
}
<div
role="presentation"
className={classNames(
'peer flex h-5 w-5 flex-shrink-0 items-center justify-center rounded-full bg-success text-success-contrast',
className,
)}
>
<Icon type={'check'} size="small" />
</button>
<Icon type="check" size="small" />
</div>
)
}