mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-03-13 02:18:16 +01: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;
|