Adds columns() and column() aliases.

This commit is contained in:
Luka Vandervelden 2020-01-05 06:14:27 +01:00
parent 8800fb2ec7
commit dce7898af3
2 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,8 @@
module.exports = {
container: alias('div.container'),
footer: alias('footer.footer'),
columns: alias('div.columns'),
column: alias('div.column'),
box: function(args, children){
return h('div.box', args, children);
},

View File

@ -14,6 +14,9 @@ module.exports = {
container: alias \div.container
footer: alias \footer.footer
columns: alias \div.columns
column: alias \div.column
box: (args, children) ->
h \div.box args, children
title: (level, args, label) ->