📝 Ejemplos de documentación usando prelude
This commit is contained in:
parent
d3a9be7550
commit
79655932d0
5 changed files with 18 additions and 26 deletions
|
|
@ -10,10 +10,9 @@ use crate::prelude::*;
|
|||
/// sería necesario llamar a [`Column::new()`] de forma explícita.
|
||||
///
|
||||
/// ```rust
|
||||
/// use pagetop::locale::Lc;
|
||||
/// use pagetop::base::component::table::Column;
|
||||
/// use pagetop::prelude::*;
|
||||
///
|
||||
/// let column: Column = Lc::n("User").into();
|
||||
/// let column: table::Column = Lc::n("User").into();
|
||||
/// assert_eq!(column.label().get(), Some("User".to_string()));
|
||||
/// assert!(column.sort().is_none());
|
||||
/// ```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue