Bu rasmni base64 satriga aylantirish uchun React komponenti. Material UI tugmasini yuklash. Kredit quyidagilarga beriladi: https://gist.github.com/wambuguedison/a195f73f118dcae977e41aa5fbef1899 ``` import Button from "@material-ui/core/Button"; ImageConverter sinfi React.Component { constructor(props) { super(props); this.state = { files: [] }; this.convert = this.convert.bind.(this); } convert (e) { // max. fayl o'lchami oshmaganligini tekshiring // o'lcham if (files[0]. > 2000000) { console.log.(File" too large"; } return; var reader = new; } file reader
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence