Skip to content

Commit ee66f2f

Browse files
Thomas Nardonefacebook-github-bot
authored andcommitted
Convert ReactTextInlineImageShadowNode (facebook#48576)
Summary: Pull Request resolved: facebook#48576 Changelog: [Internal] Reviewed By: cortinico Differential Revision: D67981753
1 parent 6865e5a commit ee66f2f

File tree

2 files changed

+21
-24
lines changed

2 files changed

+21
-24
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/text/internal/ReactTextInlineImageShadowNode.java

Lines changed: 0 additions & 24 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/*
2+
* Copyright (c) Meta Platforms, Inc. and 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+
8+
package com.facebook.react.views.text.internal
9+
10+
import com.facebook.react.uimanager.LayoutShadowNode
11+
import com.facebook.react.views.text.internal.span.TextInlineImageSpan
12+
import com.facebook.yoga.YogaNode
13+
14+
/** Base class for [YogaNode]s that represent inline images. */
15+
internal abstract class ReactTextInlineImageShadowNode : LayoutShadowNode() {
16+
/**
17+
* Build a [TextInlineImageSpan] from this node. This will be added to the TextView in place of
18+
* this node.
19+
*/
20+
public abstract fun buildInlineImageSpan(): TextInlineImageSpan
21+
}

0 commit comments

Comments
 (0)