feat: item linking (#1779)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user