Last active
February 8, 2020 23:56
-
-
Save DZuz14/b479b1ec2f79981ace2acc368135578a to your computer and use it in GitHub Desktop.
Slider With React Hooks (2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @jsx jsx */ | |
import React, { useState } from 'react' | |
import { css, jsx } from '@emotion/core' | |
/** | |
* @function Slider | |
*/ | |
const Slider = () => { | |
return <div css={SliderCSS}>{/* */}</div> | |
} | |
const SliderCSS = css` | |
position: relative; | |
height: 100vh; | |
width: 100vw; | |
margin: 0 auto; | |
overflow: hidden; | |
` | |
export default Slider |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment