Last active
February 24, 2019 07:09
-
-
Save kwoncharles/2eca4c56f1c81f9e83af03bd8a309432 to your computer and use it in GitHub Desktop.
This file contains 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
import React, { useState } from 'react'; | |
import moment from 'moment'; | |
import { withCookies, Cookies, ReactCookieProps } from 'react-cookie'; | |
import PopUpView from '../popup/PopUpView'; | |
import './Main.css' | |
interface MainProps extends ReactCookieProps {} | |
function Main(props: MainProps) { | |
const [cookies, setCookies] = useState<Cookies | undefined>(props.cookies); | |
return ( | |
<div className="Main"> | |
<PopUpView /> | |
</div> | |
) | |
} | |
export default withCookies(Main); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment