Vulcan/packages/my-custom-package/lib/components/CustomLogo.jsx
2016-06-16 11:34:13 +09:00

15 lines
No EOL
321 B
JavaScript

/*
The original Logo components is defined using React's
functional stateless component syntax, so we redefine
it the same way.
*/
import React from 'react';
const CustomLogo = ({logoUrl, siteTitle}) => {
return (
<h1 className="logo-text"><a href="/">{siteTitle}</a></h1>
)
}
export default CustomLogo;