UNPKG

apeman-react-head

Version:
29 lines (26 loc) 650 B
'use strict' import React from 'react' import {ApHead} from 'apeman-react-head' const ExampleComponent = React.createClass({ render() { return ( <html> <ApHead charset="utf-8" title='foo' icon='./favicon.png' meta={ {'description': 'This is description.'} } version='1.0.0' css={ ['css/lib.css', 'css/app.css'] } js={ ['js/lib.js', 'js/app.js'] } globals={ { appProps: {/* ... */} } } > <meta name="example-child-elm"/> </ApHead> <body> </body> </html> ) } })