leptos_struct_table

Function TableContent

Source
pub fn TableContent<Row, DataP, Err, ClsP>(
    props: TableContentProps<Row, DataP, Err, ClsP>,
) -> impl IntoView
where Row: TableRow<ClassesProvider = ClsP> + Clone + 'static, DataP: TableDataProvider<Row, Err> + 'static, Err: Debug, ClsP: TableClassesProvider + Copy + 'static,
Expand description

Render the content of a table. This is the main component of this crate.

§Required Props

  • rows: [DataP]
    • The data to be rendered in this table. This must implement TableDataProvider or [PaginatedTableDataProvider].

§Optional Props