feat: item linking (#1779)

This commit is contained in:
Aman Harwara
2022-10-11 23:54:00 +05:30
committed by GitHub
parent d22c164e5d
commit e3f28421ff
68 changed files with 2064 additions and 1277 deletions

View File

@@ -0,0 +1,15 @@
import { classNames } from '@/Utils/ConcatenateClassNames'
import { ComponentPropsWithoutRef } from 'react'
import Icon from '../Icon/Icon'
type Props = ComponentPropsWithoutRef<'button'>
const ClearInputButton = ({ className, ...props }: Props) => {
return (
<button className={classNames('flex cursor-pointer border-0 bg-transparent p-0', className)} {...props}>
<Icon type="clear-circle-filled" className="text-neutral" />
</button>
)
}
export default ClearInputButton