Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 15th, 2019
84
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
validateImageFormat = imageFile => {
if (imageFile) {
const { mimeType } = this.props;
if (!mimeType.includes(imageFile.type)) {
return `Image mime type must be ${mimeType}`;
}
}
};
Add Comment
Please,
Sign In
to add comment
Public Pastes
Practicality of life
R | 9 min ago | 9.94 KB
advanced_mega_registry_toggle
Python | 13 min ago | 8.39 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 16 min ago | 0.39 KB
Untitled
C++ | 60 min ago | 0.40 KB
Elite:Dangerous: Titan-Bomber Script
Python | 1 hour ago | 6.10 KB
Kick Up Simulator Codes
JSON | 2 hours ago | 0.11 KB
Untitled
FreeBasic | 3 hours ago | 2.56 KB
idk
Lua | 5 hours ago | 130.01 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!