// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef IOS_CHROME_BROWSER_SETTINGS_UI_BUNDLED_CELLS_SETTINGS_IMAGE_DETAIL_TEXT_ITEM_H_
#define IOS_CHROME_BROWSER_SETTINGS_UI_BUNDLED_CELLS_SETTINGS_IMAGE_DETAIL_TEXT_ITEM_H_

#import <Foundation/Foundation.h>

#import "ios/chrome/browser/shared/ui/table_view/cells/table_view_item.h"

// SettingsImageDetailTextItem is an item that displays an image, a title and
// a detail text (optional). This item uses multi-lines text field.
@interface SettingsImageDetailTextItem : TableViewItem

// The image to display (required). If this image should be tinted to match the
// text color (e.g. in dark mode), the provided image should have rendering mode
// UIImageRenderingModeAlwaysTemplate.
@property(nonatomic, strong) UIImage* image;

// The cell's content view alpha. Default is 1.
@property(nonatomic, assign) CGFloat alpha;

// The image View's tint color.
@property(nonatomic, strong) UIColor* imageViewTintColor;

// The title text to display.
@property(nonatomic, copy) NSString* text;

// UIColor for the cell's textLabel. If not set, `kTextPrimaryColor` is used.
@property(nonatomic, strong) UIColor* textColor;

// The attributed text to display.
@property(nonatomic, copy) NSAttributedString* attributedText;

// The detail text to display.
@property(nonatomic, copy) NSString* detailText;

// UIColor for the cell's detailTextLabel. If not set,
// [UIColor colorNamed:kTextSecondaryColor] is used.
@property(nonatomic, strong) UIColor* detailTextColor;

// If the item should be hidden from the accessibility view or not. Default is
// NO.
@property(nonatomic, assign) BOOL accessibilityElementsHidden;

@end

#endif  // IOS_CHROME_BROWSER_SETTINGS_UI_BUNDLED_CELLS_SETTINGS_IMAGE_DETAIL_TEXT_ITEM_H_
