[**CameraKit Web SDK v1.15.0**](../README.md)

***

[CameraKit Web SDK](../globals.md) / lensSourcesFactory

# Function: lensSourcesFactory()

> **lensSourcesFactory**(...`args`): [`LensSource`](../interfaces/LensSource.md)[]

By default, no custom [LensSource](../interfaces/LensSource.md) is provided to CameraKit. But to enable certain advanced use-cases,
applications may provide their own [LensSource](../interfaces/LensSource.md).

Perhaps the most convenient way to do this is with ConcatInjectable, as shown here:

## Parameters

### args

...[]

## Returns

[`LensSource`](../interfaces/LensSource.md)[]

## Example

```ts
import { bootstrapCameraKit, lensSourcesFactory, LensSource } from '@snap/camera-kit'

const cameraKit = bootstrapCameraKit(config, (container) => {
  return container.provides(ConcatInjectable(
    lensSourcesFactory.token,
    (): LensSource => { return ... }
  ))
})
```
