import { atom, useRecoilValue } from "recoil"; import { settingsState } from "../state/settings"; export default function Search(props: { onFocus: () => void; }) { const settings = useRecoilValue(settingsState); let style = "default"; if (style === "default") { return ( // 祖传样式,勿动
); } else if (style == "image") { return ( // 祖传样式,勿动
); } }