Skip to content

Instantly share code, notes, and snippets.

@matthewmueller
Last active October 22, 2016 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewmueller/f0fc7637e1ff426c89dee977fbe612df to your computer and use it in GitHub Desktop.
Save matthewmueller/f0fc7637e1ff426c89dee977fbe612df to your computer and use it in GitHub Desktop.
/**
* Styling
*/
/**
* Module dependencies
*/
const { HTML, CSS } = require('vcom')
/**
* CSS
*/
const css = CSS(
require('./index.css')
)
/**
* Subcomponents
*/
// additional subcomponents
/**
* Export `__NAME__`
*/
module.exports = css(__NAME__)
/**
* HTML
*/
const {
button,
label,
input,
span,
div,
h1,
h2,
a,
p
} = HTML
/**
* Query
*/
// data query
/**
* Initialize `__NAME__`
*/
function __NAME__ (props) {
return (
div.class("__NAME__")('hello __NAME__')
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment