Изменение статического img на новый img через hiddenFileInput, но отображается в виде кнопки (реагировать)
#reactjs Вопрос: import React from 'react'; import styled from 'styled-components'; const Button = styled.button; const FileUploader = props =gt; { const hiddenFileInput = React.useRef(null); const handleClick = event =gt; {…