update upload
This commit is contained in:
parent
2b194dc5d1
commit
c91f1cc218
@ -25,7 +25,6 @@ const Alert = React.forwardRef<HTMLDivElement, AlertProps>(function Alert(
|
|||||||
const formData = new FormData()
|
const formData = new FormData()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default function industryInfo({userName}: any) {
|
export default function industryInfo({userName}: any) {
|
||||||
const [url, setUrl] = React.useState('');
|
const [url, setUrl] = React.useState('');
|
||||||
|
|
||||||
@ -105,8 +104,29 @@ export default function industryInfo({userName}: any) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className='inputTeste'>
|
<div className='inputTeste'>
|
||||||
|
<form action="">
|
||||||
|
<div className='tesess'>
|
||||||
|
<label htmlFor="arquivo"> <p className='TitleBllutton'> </p> </label>
|
||||||
<input type="file" name='arquivo' id='arquivo' onChange={onChange} />
|
<input type="file" name='arquivo' id='arquivo' onChange={onChange} />
|
||||||
</div>
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<form>
|
||||||
|
<div>
|
||||||
|
<label htmlFor="arquivo"></label>
|
||||||
|
<input type="file" name='arquivo' id='arquivo'/>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<BasicButton onClick={handleCreateClient} title='Atualizar'/>
|
<BasicButton onClick={handleCreateClient} title='Atualizar'/>
|
||||||
|
|||||||
@ -39,4 +39,21 @@ export const IndustryInfoView = styled.main`
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
input[type="file"] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
label {
|
||||||
|
padding: 20px 10px;
|
||||||
|
width: 200px;
|
||||||
|
background-color: #333;
|
||||||
|
color: #FFF;
|
||||||
|
text-transform: uppercase;
|
||||||
|
text-align: center;
|
||||||
|
display: block;
|
||||||
|
margin-top: 10px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
`
|
`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user