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

16 lines
279 B
JavaScript
Raw Normal View History

2017-03-15 14:26:08 +00:00
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>
)