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 && (

)}
)}
);
“`