export const isURL = (str) => /^(https?:\/\/|data:)/.test(str);