mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 01:25:39 +00:00
e409e20d2b
Summary: Add step support to SliderIOS Closes https://github.com/facebook/react-native/pull/3746 Reviewed By: svcscm Differential Revision: D2595360 Pulled By: nicklockwood fb-gh-sync-id: 4adf8bcdf46c709776d779244ba3de2b40eb27d6
21 lines
549 B
Objective-C
21 lines
549 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 <UIKit/UIKit.h>
|
|
|
|
#import "RCTComponent.h"
|
|
|
|
@interface RCTSlider : UISlider
|
|
|
|
@property (nonatomic, copy) RCTBubblingEventBlock onChange;
|
|
@property (nonatomic, assign) float step;
|
|
@property (nonatomic, assign) float lastValue;
|
|
|
|
@end
|