rsnext/examples/with-tailwindcss-emotion/pages/_app.js
Hank Andre 372fb5dc53
refactor(with-tailwindcss-emotion): example remove styles directory (#21368)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-01-22 12:16:57 +01:00

20 lines
468 B
JavaScript

import Head from 'next/head'
import { Global } from '@emotion/react'
import xw from 'xwind'
function App({ Component, pageProps }) {
return (
<>
<Head>
<title>Tailwindcss Emotion Example</title>
</Head>
<Global
//tailwind base styles + keyframes + ring and shadow classes variables ... to global styles
styles={xw`XWIND_BASE XWIND_GLOBAL`}
/>
<Component {...pageProps} />
</>
)
}
export default App