Skip to content

Commit

Permalink
add: recoil state 모음
Browse files Browse the repository at this point in the history
  • Loading branch information
eve712 committed May 27, 2021
1 parent 1cf4d5b commit 6eaf62d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions FE/airbnb/src/state/atoms/calendarAtoms.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { atom } from "recoil";

export const checkinDateState = atom<string>({
key: "checkinDate",
default: "날짜 입력",
});

export const checkoutDateState = atom<string>({
key: "checkoutDate",
default: "날짜 입력",
});

export const hoverDateState = atom<string>({
key: "hoverDate",
default: "",
});

0 comments on commit 6eaf62d

Please sign in to comment.