RCTSlider.h 727 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. #import <UIKit/UIKit.h>
  8. #import <React/RCTComponent.h>
  9. @interface RCTSlider : UISlider
  10. @property (nonatomic, copy) RCTBubblingEventBlock onValueChange;
  11. @property (nonatomic, copy) RCTDirectEventBlock onSlidingComplete;
  12. @property (nonatomic, assign) float step;
  13. @property (nonatomic, assign) float lastValue;
  14. @property (nonatomic, strong) UIImage *trackImage;
  15. @property (nonatomic, strong) UIImage *minimumTrackImage;
  16. @property (nonatomic, strong) UIImage *maximumTrackImage;
  17. @property (nonatomic, strong) UIImage *thumbImage;
  18. @end