Skip to content

Commit 5547bfe

Browse files
committed
fixed examples
1 parent c051639 commit 5547bfe

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

examples/custom_renderers_svg/src/renderers.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,16 @@ pub fn SvgErrorRowRenderer(err: String, index: usize, _col_count: usize) -> impl
6060
#[allow(non_snake_case)]
6161
pub fn SvgLoadingRowRenderer(
6262
class: Signal<String>,
63-
inner_class: Signal<String>,
63+
_cell_class: Signal<String>,
64+
inner_cell_class: Signal<String>,
6465
index: usize,
6566
_col_count: usize,
6667
) -> impl IntoView {
6768
let transform = transform_from_index(index, 0);
6869

6970
view! {
7071
<g class=class transform=transform>
71-
<text x="0" y=ROW_HEIGHT_HALF class=inner_class dominant-baseline="central">
72+
<text x="0" y=ROW_HEIGHT_HALF class=inner_cell_class dominant-baseline="central">
7273
Loading...
7374
</text>
7475
</g>

examples/paginated_rest_datasource/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub fn App() -> impl IntoView {
3434
<TableContent
3535
rows=rows
3636
scroll_container=container
37-
loading_row_inner_class="loading-skeleton"
37+
loading_cell_inner_class="loading-skeleton"
3838
reload_controller=reload_controller
3939
on_row_count=set_count
4040
/>

0 commit comments

Comments
 (0)