/** * Copyright (c) 2017-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com.facebook.litho; import android.support.annotation.AttrRes; import android.support.annotation.StyleRes; import com.facebook.yoga.YogaFlexDirection; public final class RowReverse { private RowReverse() { } public static ComponentLayout.ContainerBuilder create( ComponentContext c, @AttrRes int defStyleAttr, @StyleRes int defStyleRes) { return c.newLayoutBuilder(defStyleAttr, defStyleRes) .flexDirection(YogaFlexDirection.ROW_REVERSE); } public static ComponentLayout.ContainerBuilder create(ComponentContext c) { return create(c, 0, 0); } }