farmcontrol-ui/src/components/Icons/MagicWandIcon.jsx
Tom Butcher 6d0e9a7abc
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
Add MagicWandIcon component and integrate template formatting functionality
- Introduced MagicWandIcon component using SVG for enhanced visual representation in the TemplateEditor.
- Updated TemplateEditor to include a button for formatting template content, utilizing the new fetchTemplateFormat function from ApiServerContext.
- Enhanced DocumentTemplateDesign to pass necessary props to TemplateEditor for improved functionality.
- Refactored CodeBlockEditor to support an additional value prop for better code handling.
2026-08-19 20:02:35 +01:00

7 lines
221 B
JavaScript

import Icon from '@ant-design/icons'
import CustomIconSvg from '../../../assets/icons/magicwandicon.svg?react'
const MagicWandIcon = (props) => <Icon component={CustomIconSvg} {...props} />
export default MagicWandIcon