Files: 6dc2c1a4ab70782adb3bd7e9c7dff831c072e153 / test / index.js
283 bytesRaw
1 | // run this from the terminal using : |
2 | // npx electro test/index.js |
3 | |
4 | const { h } = require('mutant') |
5 | |
6 | const Marama = require('../') |
7 | require('../lib/styles-inject')() |
8 | |
9 | const page = h('div', |
10 | { |
11 | style: { |
12 | margin: '4rem' |
13 | } |
14 | }, |
15 | Marama() |
16 | ) |
17 | |
18 | document.body.appendChild(page) |
19 |
Built with git-ssb-web