mirror of
https://github.com/veeso/termscp.git
synced 2026-07-27 18:11:06 +02:00
PropsBuilder: use from trait
This commit is contained in:
@@ -214,7 +214,7 @@ impl Component for Input {
|
||||
/// This returns a prop builder in order to make easier to create
|
||||
/// new properties for the element.
|
||||
fn get_props(&self) -> PropsBuilder {
|
||||
PropsBuilder::from_props(&self.props)
|
||||
PropsBuilder::from(self.props.clone())
|
||||
}
|
||||
|
||||
/// ### on
|
||||
|
||||
Reference in New Issue
Block a user