mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00:00
26 lines
477 B
TypeScript
26 lines
477 B
TypeScript
import React from 'react';
|
|
import MyIcon from './index';
|
|
import { IconProps } from '@chakra-ui/react';
|
|
|
|
const DeleteIcon = (props: IconProps) => {
|
|
return (
|
|
<MyIcon
|
|
className="delete"
|
|
name={'delete' as any}
|
|
w={'14px'}
|
|
_hover={{ color: 'red.600' }}
|
|
display={['block', 'none']}
|
|
cursor={'pointer'}
|
|
{...props}
|
|
/>
|
|
);
|
|
};
|
|
|
|
export default DeleteIcon;
|
|
|
|
export const hoverDeleteStyles = {
|
|
'& .delete': {
|
|
display: 'block'
|
|
}
|
|
};
|