construction: Adding source files to NPM package
This commit is contained in:
parent
27696b434d
commit
35f40400e9
2 changed files with 2 additions and 4 deletions
|
@ -1,2 +1 @@
|
|||
src
|
||||
.editorconfig
|
||||
|
|
|
@ -2,11 +2,10 @@ import { box } from "./shared";
|
|||
|
||||
export default part => {
|
||||
let { Point, points, Snippet, snippets } = part.shorthand();
|
||||
|
||||
box(part);
|
||||
box(part); // Needed for demo as this part has no paths
|
||||
|
||||
points.anchor = new Point(50, 25)
|
||||
.attr("data-text", "Hello world!\nThis is\na line break.")
|
||||
.attr("data-text", "msg")
|
||||
.attr("data-text-class", "text-xl center")
|
||||
.attr("data-text-lineheight", 10);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue