Adds a camera source button to the FilePond sources list.
The CameraSource extension can be configured with the CameraSourceOptions object.
import { defineFilePond } from 'filepond';
import { locale } from 'filepond/locales/en-gb.js';
import { CameraSource } from 'filepond/extensions/camera-source.js';
defineFilePond({
locale,
extensions: [
// Add the CameraSource extension and configure with CameraSourceOptions object
CameraSource
]
})