A factory function that we can use to create custom file validators, expects a CreateSourceExtensionOptions object.

Our custom source extension needs to return a createSourceElement function.

Example

Coming soon.