(bootsier): Expone ButtonSet en el tema Bootsier

This commit is contained in:
Manuel Cillero 2026-08-29 19:52:23 +02:00
parent 1be3d88888
commit 0d38f2e9e7
2 changed files with 4 additions and 2 deletions

View file

@ -21,7 +21,7 @@ pub use pagetop::base::component::breadcrumb;
// Button. // Button.
pub mod button; pub mod button;
pub use button::{Button, ButtonBootsier}; pub use button::{Button, ButtonBootsier, ButtonSet};
// Container. // Container.
pub mod container; pub mod container;

View file

@ -1,8 +1,10 @@
//! Definiciones para crear botones ([`Button`]) y conjuntos de botones ([`ButtonSet`]).
use pagetop::prelude::*; use pagetop::prelude::*;
use crate::theme::BootsierColors; use crate::theme::BootsierColors;
pub use pagetop::base::component::button::{Button, Kind, Size, Style}; pub use pagetop::base::component::button::{Button, ButtonSet, Kind, Size, Style};
const EXTRA_ACTIVE: &str = "bootsier.button.active"; const EXTRA_ACTIVE: &str = "bootsier.button.active";
const EXTRA_FULL_WIDTH: &str = "bootsier.button.full_width"; const EXTRA_FULL_WIDTH: &str = "bootsier.button.full_width";