euv_ui/component/pagination/view/
struct.rs1use super::*;
2
3#[derive(Clone, Copy, CustomDebug, Data, Default, New)]
5pub struct EuvPaginationItem {
6 #[get(type(copy))]
8 pub text: &'static str,
9 #[get(type(copy))]
11 pub link: &'static str,
12}
13
14#[derive(Clone, Copy, CustomDebug, Data, Default, New)]
16pub struct EuvPaginationProps {
17 #[get(type(copy))]
19 pub prev_label: &'static str,
20 #[get(type(copy))]
22 pub next_label: &'static str,
23 #[get(type(copy))]
25 pub prev: Option<EuvPaginationItem>,
26 #[get(type(copy))]
28 pub next: Option<EuvPaginationItem>,
29}