Created
May 19, 2020 15:58
-
-
Save ozcanzaferayan/4ae16e36fe1583492fad6401967519cb 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 { atom } from "recoil"; | |
export const todoListState = atom({ | |
key: "todoListState", | |
default: [ | |
{ name: "Apples", isCompleted: false }, | |
{ name: "Eggs", isCompleted: false }, | |
{ name: "Butter", isCompleted: false }, | |
], | |
}); | |
export const todoListFilterState = atom({ | |
key: "todoListFilterState", | |
default: "Hepsini göster", | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment