2019-01-27 12:54:18 +01:00
|
|
|
import { box } from "./shared";
|
|
|
|
|
|
|
|
export default part => {
|
|
|
|
let { Point, points, Snippet, snippets } = part.shorthand();
|
2019-01-27 15:04:45 +01:00
|
|
|
box(part); // Needed for demo as this part has no paths
|
2019-01-27 12:54:18 +01:00
|
|
|
|
|
|
|
points.anchor = new Point(50, 25)
|
2019-01-27 15:04:45 +01:00
|
|
|
.attr("data-text", "msg")
|
2019-01-27 12:54:18 +01:00
|
|
|
.attr("data-text-class", "text-xl center")
|
|
|
|
.attr("data-text-lineheight", 10);
|
|
|
|
|
|
|
|
snippets.notch = new Snippet("x", points.anchor);
|
|
|
|
|
|
|
|
return part;
|
|
|
|
};
|