mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-09-24 12:36:13 +00:00
13 lines
474 B
TypeScript
13 lines
474 B
TypeScript
import GenericTool from '../components/tools/shared/GenericTool';
|
|
import { sanitizeDefinition } from './definitions/sanitizeDefinition';
|
|
import { BaseToolProps, ToolComponent } from '../types/tool';
|
|
|
|
const Sanitize = (props: BaseToolProps) => {
|
|
return <GenericTool definition={sanitizeDefinition} {...props} />;
|
|
};
|
|
|
|
// Static method to get the operation hook for automation
|
|
Sanitize.tool = () => sanitizeDefinition.useOperation;
|
|
|
|
export default Sanitize as ToolComponent;
|