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
|
.editorconfig
|
||||||
|
|
|
@ -2,11 +2,10 @@ import { box } from "./shared";
|
||||||
|
|
||||||
export default part => {
|
export default part => {
|
||||||
let { Point, points, Snippet, snippets } = part.shorthand();
|
let { Point, points, Snippet, snippets } = part.shorthand();
|
||||||
|
box(part); // Needed for demo as this part has no paths
|
||||||
box(part);
|
|
||||||
|
|
||||||
points.anchor = new Point(50, 25)
|
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-class", "text-xl center")
|
||||||
.attr("data-text-lineheight", 10);
|
.attr("data-text-lineheight", 10);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue