daxdesai

Results comments of daxdesai

``` styles={{ control: (base, state) => ({ ...base, border: "none", boxShadow: "none", "&:hover": { border: "none", }, }), }} ```

``` styles={{ control: (base) => ({ ...base, border: `1px solid #e5e7eb`, borderRadius: "0.5rem", boxShadow: "none", "&:hover": { border: "1px solid #f6bf63cc", }, }), }} ```

Use the **cancel** prop on the component to exclude the delete button (and anything else you want to make clickable) from being draggable. You can do this using a CSS...

``` const dottedPolyline = new window.google.maps.Polyline({ path: item?.path, strokeColor: "#000", strokeWeight: 2, zIndex: 1, fillOpacity: 1, editable: true, strokeOpacity: 0, icons: [ { icon: { path: window.google.maps.SymbolPath.CIRCLE, scale: 3, strokeColor:...

``` const uploadPDF = (file) => { const formData = new FormData(); formData.append("type", "doc"); formData.append("file", file); dispatch(uploadFile(formData)).then((res) => { if (res.type === "uploadFile/fulfilled") { return res.payload.url; } }); }; const...