mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 09:12:02 +00:00
f383bf2b83
Summary: This adds the Keyboard animation type for when you want to animate UI based on the keyboard appearing/disappearing. Closes https://github.com/facebook/react-native/pull/1366 Github Author: Stanislav Vishnevskiy <vishnevskiy@gmail.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.
20 lines
565 B
Objective-C
20 lines
565 B
Objective-C
/**
|
|
* Copyright (c) 2015-present, Facebook, 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.
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
typedef NS_ENUM(NSInteger, RCTAnimationType) {
|
|
RCTAnimationTypeSpring = 0,
|
|
RCTAnimationTypeLinear,
|
|
RCTAnimationTypeEaseIn,
|
|
RCTAnimationTypeEaseOut,
|
|
RCTAnimationTypeEaseInEaseOut,
|
|
RCTAnimationTypeKeyboard,
|
|
};
|