yeet
This commit is contained in:
12
node_modules/react-native/Libraries/Text/VirtualText/RCTVirtualTextShadowView.h
generated
vendored
Normal file
12
node_modules/react-native/Libraries/Text/VirtualText/RCTVirtualTextShadowView.h
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#import "RCTBaseTextShadowView.h"
|
||||
|
||||
@interface RCTVirtualTextShadowView : RCTBaseTextShadowView
|
||||
|
||||
@end
|
38
node_modules/react-native/Libraries/Text/VirtualText/RCTVirtualTextShadowView.m
generated
vendored
Normal file
38
node_modules/react-native/Libraries/Text/VirtualText/RCTVirtualTextShadowView.m
generated
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
/*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#import <React/RCTVirtualTextShadowView.h>
|
||||
|
||||
#import <React/RCTShadowView+Layout.h>
|
||||
#import <yoga/Yoga.h>
|
||||
|
||||
#import <React/RCTRawTextShadowView.h>
|
||||
|
||||
@implementation RCTVirtualTextShadowView {
|
||||
BOOL _isLayoutDirty;
|
||||
}
|
||||
|
||||
#pragma mark - Layout
|
||||
|
||||
- (void)dirtyLayout
|
||||
{
|
||||
[super dirtyLayout];
|
||||
|
||||
if (_isLayoutDirty) {
|
||||
return;
|
||||
}
|
||||
_isLayoutDirty = YES;
|
||||
|
||||
[self.superview dirtyLayout];
|
||||
}
|
||||
|
||||
- (void)clearLayout
|
||||
{
|
||||
_isLayoutDirty = NO;
|
||||
}
|
||||
|
||||
@end
|
12
node_modules/react-native/Libraries/Text/VirtualText/RCTVirtualTextViewManager.h
generated
vendored
Normal file
12
node_modules/react-native/Libraries/Text/VirtualText/RCTVirtualTextViewManager.h
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#import "RCTBaseTextViewManager.h"
|
||||
|
||||
@interface RCTVirtualTextViewManager : RCTBaseTextViewManager
|
||||
|
||||
@end
|
26
node_modules/react-native/Libraries/Text/VirtualText/RCTVirtualTextViewManager.m
generated
vendored
Normal file
26
node_modules/react-native/Libraries/Text/VirtualText/RCTVirtualTextViewManager.m
generated
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#import <React/RCTVirtualTextViewManager.h>
|
||||
|
||||
#import <React/RCTVirtualTextShadowView.h>
|
||||
|
||||
@implementation RCTVirtualTextViewManager
|
||||
|
||||
RCT_EXPORT_MODULE(RCTVirtualText)
|
||||
|
||||
- (UIView *)view
|
||||
{
|
||||
return [UIView new];
|
||||
}
|
||||
|
||||
- (RCTShadowView *)shadowView
|
||||
{
|
||||
return [RCTVirtualTextShadowView new];
|
||||
}
|
||||
|
||||
@end
|
Reference in New Issue
Block a user