- Introduced new PanIcon and PanFilledIcon components to enhance the TemplatePreview functionality. - Implemented panning feature in TemplatePreview, allowing users to navigate through content more intuitively. - Updated TemplatePreview to toggle panning mode with visual feedback using the new icons. - Enhanced user experience by managing pointer events and cursor styles during panning.
9 lines
227 B
JavaScript
9 lines
227 B
JavaScript
import Icon from '@ant-design/icons'
|
|
import CustomIconSvg from '../../../assets/icons/panfilledicon.svg?react'
|
|
|
|
const PanFilledIcon = (props) => (
|
|
<Icon component={CustomIconSvg} {...props} />
|
|
)
|
|
|
|
export default PanFilledIcon
|