notifyIfFileNotAllowed
See source codeChecks if a file is allowed to be uploaded. If it is not, it will show a toast explaining why to the user.
function notifyIfFileNotAllowed(
  file: File,
  options: TLDefaultExternalContentHandlerOpts
): booleanParameters
| Name | Description | 
|---|---|
  | The file to check  | 
  | The options for the external content handler  | 
Returns
booleanTrue if the file is allowed, false otherwise
Prev
getUncroppedSizeNext
onDragFromToolbarToCreateShape