Fix tsc (again) (#50)
* Test forbid `<View>` * Update validate-js.yml * Run yarn lint with custom formatter lib * Revert "Test forbid `<View>`" This reverts commit d36ab54b48b7e86e594d360bd71c82b541ed63fa. * Test: Intentional tsc error * Update notice-new-dependencies.yml * Update validate-js.yml * Use reviewdog again, but with custom efm * Fix <Camera> props * Update validate-js.yml * Try use github-check * Update validate-js.yml * Update validate-js.yml * Add two reporters * Update validate-js.yml * Level error * Use github-pr-review * Update validate-js.yml * Revert "Test: Intentional tsc error" This reverts commit a4e7f6f599d403848729143f1bd87a3435c70826.
This commit is contained in:
@@ -189,8 +189,8 @@ interface CameraState {
|
||||
*
|
||||
* The `<Camera>` component's most important (and therefore _required_) properties are:
|
||||
*
|
||||
* * {@linkcode CameraDeviceProps.device | device}: Specifies the {@linkcode CameraDevice} to use. Get a {@linkcode CameraDevice} by using the {@linkcode useCameraDevices | useCameraDevices()} hook, or manually by using the {@linkcode Camera.getAvailableCameraDevices Camera.getAvailableCameraDevices()} function.
|
||||
* * {@linkcode CameraDynamicProps.isActive | isActive}: A boolean value that specifies whether the Camera should actively stream video frames or not. This can be compared to a Video component, where `isActive` specifies whether the video is paused or not. If you fully unmount the `<Camera>` component instead of using `isActive={false}`, the Camera will take a bit longer to start again.
|
||||
* * {@linkcode CameraProps.device | device}: Specifies the {@linkcode CameraDevice} to use. Get a {@linkcode CameraDevice} by using the {@linkcode useCameraDevices | useCameraDevices()} hook, or manually by using the {@linkcode Camera.getAvailableCameraDevices Camera.getAvailableCameraDevices()} function.
|
||||
* * {@linkcode CameraProps.isActive | isActive}: A boolean value that specifies whether the Camera should actively stream video frames or not. This can be compared to a Video component, where `isActive` specifies whether the video is paused or not. If you fully unmount the `<Camera>` component instead of using `isActive={false}`, the Camera will take a bit longer to start again.
|
||||
*
|
||||
* @example
|
||||
* ```tsx
|
||||
|
Reference in New Issue
Block a user