1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/svg-components/pages/index.js
2017-03-15 15:26:08 +01:00

16 lines
279 B
JavaScript

import React from 'react'
import Cat from '../svgs/cat.svg'
export default () => (
<div className='container'>
<marquee>SVG Cat!</marquee>
<Cat />
<style jsx>{`
.container {
width: 600px;
margin: 100px auto;
}
`}</style>
</div>
)