create-expo-cljs-app
Version:
Create a react native application with Expo and Shadow-CLJS!
26 lines (25 loc) • 1 kB
Flow
/**
* Copyright (c) Nicolas Gallagher.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import type { GenericStyleProp } from '../../types';
import type { ViewProps } from '../../exports/View';
import UIManager from '../../exports/UIManager';
import createDOMProps from '../createDOMProps';
import useStable from '../useStable';
import { useRef } from 'react';
const emptyObject = {};
declare function setNativeProps(node: any, nativeProps: any, classList: any, pointerEvents: any, style: any, previousStyleRef: any): any;
/**
* Adds non-standard methods to the hode element. This is temporarily until an
* API like `ReactNative.measure(hostRef, callback)` is added to React Native.
*/
declare export default function usePlatformMethods(arg0: {
classList?: Array<string | boolean>,
style?: GenericStyleProp<*>,
pointerEvents?: $PropertyType<ViewProps, 'pointerEvents'>,
}): (hostNode: any) => void;