Last active
August 15, 2020 09:47
-
-
Save skflowne/42583587a7c873407f1e6e470398927f to your computer and use it in GitHub Desktop.
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
import { atom } from "recoil" | |
export const DATE_RANGE = [new Date("10 Jan 2020"), new Date()] | |
export const currentDateState = atom({ | |
key: "current-date-state", | |
default: new Date(), | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment