♻️ (bootsier): Renombra traits de extensión
Los traits con los que Bootsier añade métodos a componentes del núcleo pasan de `<Componente>Bootsier` a `<Componente>BsExt`. SelectBootsier se confundiría con componentes como SelectLanguage.
This commit is contained in:
parent
08d673b89d
commit
144127776d
14 changed files with 43 additions and 43 deletions
|
|
@ -140,7 +140,7 @@ const EXTRA_LAYOUT: &str = "bootsier.navbar.layout";
|
|||
/// ));
|
||||
/// ```
|
||||
#[builder_impl]
|
||||
pub trait NavbarBootsier {
|
||||
pub trait NavbarBsExt {
|
||||
/// Crea una barra de navegación cuyo contenido se muestra en un panel lateral.
|
||||
fn offcanvas(panel: bs::navbar::Panel) -> Self;
|
||||
|
||||
|
|
@ -154,7 +154,7 @@ pub trait NavbarBootsier {
|
|||
}
|
||||
|
||||
#[builder_impl]
|
||||
impl NavbarBootsier for Navbar {
|
||||
impl NavbarBsExt for Navbar {
|
||||
fn offcanvas(panel: bs::navbar::Panel) -> Self {
|
||||
let mut navbar = Self::new();
|
||||
navbar.alter_prop(PropsOp::set_extra(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue