docs for OutfitResetModal

This commit is contained in:
Matt Dunn-Rankin 2020-04-26 01:45:17 -07:00
parent 821aa7f663
commit 47117d08a3

View file

@ -17,6 +17,11 @@ import {
Box, Box,
} from "@chakra-ui/core"; } from "@chakra-ui/core";
/**
* OutfitResetModal gives the user the ability to reset their outfit, by either
* clearing out most of the data, or letting them type in a pet name to load
* from Neopets.com!
*/
function OutfitResetModal({ isOpen, onClose, dispatchToOutfit }) { function OutfitResetModal({ isOpen, onClose, dispatchToOutfit }) {
const [petName, setPetName] = React.useState(""); const [petName, setPetName] = React.useState("");
const [submittedPetName, submitPetName] = React.useState(""); const [submittedPetName, submitPetName] = React.useState("");