Fakultas Ilmu Komputer UI

Commit 3103e0a0 authored by Naufal Pratama Tanansyah's avatar Naufal Pratama Tanansyah Committed by Reka Paska Enda
Browse files

PBI-8: Menambah ketentuan upload gambar

parent 92c8aa53
......@@ -452,7 +452,13 @@ const FormProduk = ({ onSubmit, initialData = null, error }) => {
<LabelInput htmlFor="gambar">Foto Produk </LabelInput>
<InputForm type="file" name="image" ref={register} />
</RowInput>
<div
css={css`
font-size: 12px;
`}
>
*Foto harus dalam format .jpeg atau .png dengan ukuran maksimum 500KB
</div>
{/* IMAGE SECTION END */}
<RowInput>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment