Skip to content

Commit

Permalink
built in css added
Browse files Browse the repository at this point in the history
  • Loading branch information
afsanefdaa committed Feb 7, 2020
1 parent 0fbcc23 commit 6304de0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
4 changes: 0 additions & 4 deletions examples/with-three-js/next.config.js

This file was deleted.

8 changes: 8 additions & 0 deletions examples/with-three-js/pages/_app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react'
import './index.css'

function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
}

export default MyApp
1 change: 0 additions & 1 deletion examples/with-three-js/pages/birds.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React, { useRef, useState, useEffect, Suspense } from 'react'
import * as THREE from 'three'
import { Canvas, useFrame, useLoader } from 'react-three-fiber'
import './index.css'

let GLTFLoader

Expand Down
1 change: 0 additions & 1 deletion examples/with-three-js/pages/boxes.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { useRef, useState, Suspense } from 'react'
import { Canvas, useFrame } from 'react-three-fiber'
import './index.css'

const Box = props => {
const mesh = useRef()
Expand Down
3 changes: 1 addition & 2 deletions examples/with-three-js/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import React from 'react'
import Link from 'next/link'
import style from './index.css'

const Index = () => {
return (
<div className={style.main}>
<div className="main">
<Link href="/birds">
<a>Birds Example</a>
</Link>
Expand Down

0 comments on commit 6304de0

Please sign in to comment.