1
0
Fork 0

feat(components): More examples in the Examples component

This commit is contained in:
Joost De Cock 2020-12-29 18:33:20 +01:00
parent 44e4352d3e
commit 62e64f973f
13 changed files with 189 additions and 96 deletions

View file

@ -0,0 +1,10 @@
import { box } from './shared'
export default (part) => {
let { Point, points, Snippet, snippets } = part.shorthand()
points.anchor = new Point(50, 5)
snippets.demo = new Snippet('snap-stud', points.anchor)
return box(part, 100, 10)
}