Create YogaProps Interface

Summary:
Create YogaProps Interface; this interface represents the inputs to YogaNode for layout calculation.

Changelog: [Internal] Create YogaProps Interface; this interface represents the inputs to YogaNode for layout calculation.

Reviewed By: mihaelao

Differential Revision: D27229274

fbshipit-source-id: 5205caf2384661369d7a2d7e7f3e49ff831a1c92
This commit is contained in:
Aditya Sharat
2021-03-26 10:04:04 -07:00
committed by Facebook GitHub Bot
parent 638690255c
commit 07eaeea7a4
2 changed files with 152 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ package com.facebook.yoga;
import javax.annotation.Nullable;
public abstract class YogaNode {
public abstract class YogaNode implements YogaProps {
/** The interface the {@link #getData()} object can optionally implement. */
public interface Inputs {