mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-15 11:00:47 +02:00
Refactor sign to separate out add text and add image functions. Implement add text as standalone tool
13 lines
334 B
TypeScript
13 lines
334 B
TypeScript
import { createStampTool } from '@app/tools/stamp/createStampTool';
|
|
|
|
const Sign = createStampTool({
|
|
toolId: 'sign',
|
|
translationScope: 'sign',
|
|
allowedSignatureSources: ['canvas', 'image', 'text', 'saved'],
|
|
defaultSignatureSource: 'canvas',
|
|
defaultSignatureType: 'canvas',
|
|
enableApplyAction: true,
|
|
});
|
|
|
|
export default Sign;
|