import { Close20, Search20 } from "@carbon/icons-react"; import classNames from "classnames"; import React, { useRef } from "react"; import "./InputSearchHeader.scss"; const InputSearchHeader = () => { const [showInput, setShowInput] = React.useState(false); const ref: any = useRef(); const handleToggle = React.useCallback(() => { setShowInput(true); ref.current.focus(); }, [ref]); const handleClose = React.useCallback(() => { setShowInput(false); }, []); return (
); }; export default InputSearchHeader;