import { FormControl, FormHelperText, FormLabel, Input, useMultiStyleConfig, } from "@chakra-ui/react"; import { type Dispatch, type SetStateAction } from "react"; export default function (props: { fileStateSet: Dispatch>; }) { const inputSelectorProps = useMultiStyleConfig("Button", { colorScheme: "blue", }); return ( Proof of Purchase { props.fileStateSet(e.target.files); }} sx={{ "::file-selector-button": { border: "none", outline: "none", ...inputSelectorProps, }, }} type="file" /> Select both the Roblox transaction entry and proof of you not receiving your purchase. ); }