js-draw
Version:
Draw pictures using a pen, touchscreen, or mouse! JS-draw is a drawing library for JavaScript and TypeScript.
12 lines (11 loc) • 482 B
JavaScript
export const defaultComponentLocalization = {
unlabeledImageNode: 'Unlabeled image node',
stroke: 'Stroke',
svgObject: 'SVG Object',
emptyBackground: 'Empty background',
gridBackground: 'Grid background',
filledBackgroundWithColor: (color) => `Filled background (${color})`,
text: (text) => `Text object: ${text}`,
imageNode: (description) => `Image: ${description}`,
restyledElement: (elementDescription) => `Restyled ${elementDescription}`,
};