Last active
October 22, 2016 08:24
-
-
Save matthewmueller/f0fc7637e1ff426c89dee977fbe612df to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Styling | |
*/ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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