Comment out .state
setting
This commit is contained in:
parent
e99d862f3f
commit
6f5cf10acb
1 changed files with 9 additions and 17 deletions
|
@ -272,9 +272,7 @@ mod stories {
|
||||||
Label::new(state.to_string()).color(LabelColor::Muted),
|
Label::new(state.to_string()).color(LabelColor::Muted),
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
Button::new("Label")
|
Button::new("Label").variant(ButtonVariant::Ghost), // .state(state),
|
||||||
.variant(ButtonVariant::Ghost)
|
|
||||||
.state(state),
|
|
||||||
)
|
)
|
||||||
})))
|
})))
|
||||||
.child(Story::label(cx, "Ghost – Left Icon"))
|
.child(Story::label(cx, "Ghost – Left Icon"))
|
||||||
|
@ -288,8 +286,7 @@ mod stories {
|
||||||
Button::new("Label")
|
Button::new("Label")
|
||||||
.variant(ButtonVariant::Ghost)
|
.variant(ButtonVariant::Ghost)
|
||||||
.icon(Icon::Plus)
|
.icon(Icon::Plus)
|
||||||
.icon_position(IconPosition::Left)
|
.icon_position(IconPosition::Left), // .state(state),
|
||||||
.state(state),
|
|
||||||
)
|
)
|
||||||
})))
|
})))
|
||||||
.child(Story::label(cx, "Ghost – Right Icon"))
|
.child(Story::label(cx, "Ghost – Right Icon"))
|
||||||
|
@ -303,8 +300,7 @@ mod stories {
|
||||||
Button::new("Label")
|
Button::new("Label")
|
||||||
.variant(ButtonVariant::Ghost)
|
.variant(ButtonVariant::Ghost)
|
||||||
.icon(Icon::Plus)
|
.icon(Icon::Plus)
|
||||||
.icon_position(IconPosition::Right)
|
.icon_position(IconPosition::Right), // .state(state),
|
||||||
.state(state),
|
|
||||||
)
|
)
|
||||||
}))),
|
}))),
|
||||||
)
|
)
|
||||||
|
@ -318,9 +314,7 @@ mod stories {
|
||||||
Label::new(state.to_string()).color(LabelColor::Muted),
|
Label::new(state.to_string()).color(LabelColor::Muted),
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
Button::new("Label")
|
Button::new("Label").variant(ButtonVariant::Filled), // .state(state),
|
||||||
.variant(ButtonVariant::Filled)
|
|
||||||
.state(state),
|
|
||||||
)
|
)
|
||||||
})))
|
})))
|
||||||
.child(Story::label(cx, "Filled – Left Button"))
|
.child(Story::label(cx, "Filled – Left Button"))
|
||||||
|
@ -334,8 +328,7 @@ mod stories {
|
||||||
Button::new("Label")
|
Button::new("Label")
|
||||||
.variant(ButtonVariant::Filled)
|
.variant(ButtonVariant::Filled)
|
||||||
.icon(Icon::Plus)
|
.icon(Icon::Plus)
|
||||||
.icon_position(IconPosition::Left)
|
.icon_position(IconPosition::Left), // .state(state),
|
||||||
.state(state),
|
|
||||||
)
|
)
|
||||||
})))
|
})))
|
||||||
.child(Story::label(cx, "Filled – Right Button"))
|
.child(Story::label(cx, "Filled – Right Button"))
|
||||||
|
@ -349,8 +342,7 @@ mod stories {
|
||||||
Button::new("Label")
|
Button::new("Label")
|
||||||
.variant(ButtonVariant::Filled)
|
.variant(ButtonVariant::Filled)
|
||||||
.icon(Icon::Plus)
|
.icon(Icon::Plus)
|
||||||
.icon_position(IconPosition::Right)
|
.icon_position(IconPosition::Right), // .state(state),
|
||||||
.state(state),
|
|
||||||
)
|
)
|
||||||
}))),
|
}))),
|
||||||
)
|
)
|
||||||
|
@ -366,7 +358,7 @@ mod stories {
|
||||||
.child(
|
.child(
|
||||||
Button::new("Label")
|
Button::new("Label")
|
||||||
.variant(ButtonVariant::Filled)
|
.variant(ButtonVariant::Filled)
|
||||||
.state(state)
|
// .state(state)
|
||||||
.width(Some(rems(6.).into())),
|
.width(Some(rems(6.).into())),
|
||||||
)
|
)
|
||||||
})))
|
})))
|
||||||
|
@ -380,7 +372,7 @@ mod stories {
|
||||||
.child(
|
.child(
|
||||||
Button::new("Label")
|
Button::new("Label")
|
||||||
.variant(ButtonVariant::Filled)
|
.variant(ButtonVariant::Filled)
|
||||||
.state(state)
|
// .state(state)
|
||||||
.icon(Icon::Plus)
|
.icon(Icon::Plus)
|
||||||
.icon_position(IconPosition::Left)
|
.icon_position(IconPosition::Left)
|
||||||
.width(Some(rems(6.).into())),
|
.width(Some(rems(6.).into())),
|
||||||
|
@ -396,7 +388,7 @@ mod stories {
|
||||||
.child(
|
.child(
|
||||||
Button::new("Label")
|
Button::new("Label")
|
||||||
.variant(ButtonVariant::Filled)
|
.variant(ButtonVariant::Filled)
|
||||||
.state(state)
|
// .state(state)
|
||||||
.icon(Icon::Plus)
|
.icon(Icon::Plus)
|
||||||
.icon_position(IconPosition::Right)
|
.icon_position(IconPosition::Right)
|
||||||
.width(Some(rems(6.).into())),
|
.width(Some(rems(6.).into())),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue