File tree Expand file tree Collapse file tree
litho-widget/src/main/java/com/facebook/litho/widget Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- package com .facebook .litho .widget ;
17+ package com.facebook.litho.widget
1818
19- import com .facebook .litho .AttributeKey ;
20- import java .util .List ;
19+ import com.facebook.litho.AttributeKey
2120
22- /** Collection of the {@link AttributeKey} that are used across Litho's widgets. */
23- public class WidgetAttributes {
24-
25- private WidgetAttributes () {
26- // do nothing
27- }
28-
29- /** Key used to identify real text set by the developer in the {@link TextSpec}. */
30- public static final AttributeKey <List <CharSequence >> Text = new AttributeKey <>("text" );
21+ /* * Collection of the [AttributeKey] that are used across Litho's widgets. */
22+ object WidgetAttributes {
23+ /* * Key used to identify real text set by the developer in the [TextSpec]. */
24+ @JvmField val Text : AttributeKey <List <CharSequence >> = AttributeKey (" text" )
3125}
You can’t perform that action at this time.
0 commit comments