feat(segmented_button): Support adding divider above items in vertical segmented button
This commit is contained in:
parent
05da0a83b2
commit
2faaeddb05
4 changed files with 44 additions and 2 deletions
|
|
@ -95,6 +95,11 @@ where
|
|||
self
|
||||
}
|
||||
|
||||
pub fn divider_above(mut self) -> Self {
|
||||
self.model.0.divider_above_set(self.id, true);
|
||||
self
|
||||
}
|
||||
|
||||
/// Defines an icon for the item.
|
||||
///
|
||||
/// ```ignore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue