import { SwitchMiiInstructions } from "@/types"; import TypeSelector from "../type-selector"; import NumberInputs from "../number-inputs"; import { useState } from "react"; interface Props { instructions: React.RefObject; } export default function EarsTab({ instructions }: Props) { const [type, setType] = useState(0); return (

Ears

{ setType(i); instructions.current.ears.type = i; }} />
); }