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;
|