diff --git a/VDS/Components/Breadcrumbs/BreadcrumbItemModel.swift b/VDS/Components/Breadcrumbs/BreadcrumbItemModel.swift index f792df3f..507212de 100644 --- a/VDS/Components/Breadcrumbs/BreadcrumbItemModel.swift +++ b/VDS/Components/Breadcrumbs/BreadcrumbItemModel.swift @@ -12,21 +12,20 @@ extension Breadcrumbs { ///Text that goes in the breadcrumb item public var text: String - - /// The Breadcrumb link to links to its respective page. - public var link: String + public var enabled: Bool + /// The Breadcrumb link to links to its respective page. - public var isSelected: Bool? + public var selected: Bool ///Click event when you click on a breadcrumb item public var onClick: ((BreadcrumbItem) -> Void)? - public init(text: String, link: String, isSelected: Bool? = false, onClick: ((BreadcrumbItem) -> Void)? = nil) { + public init(text: String, enabeled: Bool = true, selected: Bool = false, onClick: ((BreadcrumbItem) -> Void)? = nil) { self.text = text - self.isSelected = isSelected + self.enabled = enabeled + self.selected = selected self.onClick = onClick - self.link = link } } }