Rename fill
to bg
This commit is contained in:
parent
597a9f9548
commit
296a2b8e5d
35 changed files with 136 additions and 106 deletions
|
@ -162,7 +162,7 @@ impl<S: 'static + Send + Sync + Clone> Button<S> {
|
|||
.rounded_md()
|
||||
.border()
|
||||
.border_color(border_color)
|
||||
.fill(self.background_color(cx));
|
||||
.bg(self.background_color(cx));
|
||||
|
||||
match (self.icon, self.icon_position) {
|
||||
(Some(_), Some(IconPosition::Left)) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue