Image Uploader

To Share and +4 nLEARNs

import {WidgetEditor} from "@site/src/components/social-widget"

The IpfsImageUpload is a built-in component that enables users to directly upload an image to the InterPlanetary File System (IPFS).


Example

“`javascript
State.init({
img: null,
});

return (

Image upload:
Raw State:

{JSON.stringify(state)}

{state.img.cid && (
uploaded
)}

);
“`

Generate comment with AI 2 nL
Scroll to Top
Report a bug👀