Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite repo in typescript #72

Merged
merged 17 commits into from
Jan 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ Figment/ios/ngrokendpoint.txt
# Node
node_modules
npm-debug.log
yarn.lock
package-lock.lock

.DS_Store
local.properties
build/
react-viro*.tgz

yarn.lock

# Fastlane
ios/fastlane/report.xml
Expand Down
37 changes: 0 additions & 37 deletions components/AR/ViroARCamera.js

This file was deleted.

33 changes: 33 additions & 0 deletions components/AR/ViroARCamera.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/**
* Copyright (c) 2018-present, Viro, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ViroARCamera
* @flow
*/
"use strict";

import * as React from "react";
import { ViewProps } from "react-native";
import { ViroCamera } from "../ViroCamera";

export class ViroARCamera extends React.Component<ViewProps> {
_component: ViroCamera | null = null;

render() {
// Uncomment this to check props
return (
<ViroCamera
ref={(component: ViroCamera) => {
this._component = component;
}}
{...this.props}
active={true}
/>
);
}
}
230 changes: 0 additions & 230 deletions components/AR/ViroARImageMarker.js

This file was deleted.

Loading