Skip to content

Commit

Permalink
Convert ReactTextInlineImageShadowNode
Browse files Browse the repository at this point in the history
Summary: Changelog: [Internal]

Differential Revision: D67981753
  • Loading branch information
Thomas Nardone authored and facebook-github-bot committed Jan 9, 2025
1 parent 9b646c8 commit e3a1a31
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 24 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

package com.facebook.react.views.text.internal

import com.facebook.react.uimanager.LayoutShadowNode
import com.facebook.react.views.text.internal.span.TextInlineImageSpan
import com.facebook.yoga.YogaNode

/** Base class for [YogaNode]s that represent inline images. */
internal abstract class ReactTextInlineImageShadowNode : LayoutShadowNode() {
/**
* Build a [TextInlineImageSpan] from this node. This will be added to the TextView in place of
* this node.
*/
public abstract fun buildInlineImageSpan(): TextInlineImageSpan
}

0 comments on commit e3a1a31

Please sign in to comment.