UNPKG

react-native

Version:

A framework for building native apps using React

31 lines (29 loc) • 1.45 kB
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @generated SignedSource<<837c9749665fd67f5d92d4939594fa27>> * * This file was translated from Flow by scripts/js-api/build-types/index.js. * Original file: packages/react-native/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.js */ import * as React from "react"; import type { HostInstance } from "../../../src/private/types/HostInstance"; import type { ProgressBarAndroidProps } from "./ProgressBarAndroidTypes"; export type ProgressBarAndroidInstance = HostInstance; export type { ProgressBarAndroidProps }; type Omit<T, K> = T extends any ? Pick<T, Exclude<keyof T, K>> : T; declare let ProgressBarAndroid: (props: Omit<Omit<ProgressBarAndroidProps, never>, "ref"> & { ref?: React.Ref<ProgressBarAndroidInstance> | undefined; }) => React.ReactNode; /** * ProgressBarAndroid has been extracted from react-native core and will be removed in a future release. * It can now be installed and imported from `@react-native-community/progress-bar-android` instead of 'react-native'. * @see https://github.com/react-native-community/progress-bar-android * @deprecated */ declare const $$ProgressBarAndroid: typeof ProgressBarAndroid; declare type $$ProgressBarAndroid = typeof $$ProgressBarAndroid; export default $$ProgressBarAndroid;