✨ (button): Añade Button::anchor() para navegación
- Renderiza un `<a href>` real con el aspecto de un botón, distinto del estilo puramente visual `button::Style::Link`. - Renombra `ButtonKind`/`ButtonStyle` a `Kind`/`Style`. - Añade `button::Size` (`button-sm`/`button-lg`).
This commit is contained in:
parent
434d31c5eb
commit
da959183f6
6 changed files with 229 additions and 67 deletions
|
|
@ -1,7 +1,7 @@
|
|||
//! Definiciones para crear botones ([`Button`]) y conjuntos de botones ([`ButtonSet`]).
|
||||
|
||||
mod props;
|
||||
pub use props::{ButtonKind, ButtonStyle};
|
||||
pub use props::{Kind, Size, Style};
|
||||
|
||||
mod component;
|
||||
pub use component::Button;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue