FilterFeedbackBarItem

public struct FilterFeedbackBarItem
extension FilterFeedbackBarItem: View
extension FilterFeedbackBarItem: _ViewEmptyChecking

The FilterFeedbackBarItem is a SwiftUI component for items in FilterFeedbackBar. Typically not used by application developer.

Usage

icon is the leading image in the button. title is the button title. accessoryIcon is the trailing image in the button. isSelected is the state of the button whether the item has selected value. The style of the button will change based on its state.

 FilterFeedbackBarItem(
    icon: Image(systemName: "clock"),
    title: "Item Title",
    accessoryIcon: Image(systemName: "chevron.down"),
    isSelected: self.item.isChecked)