pub fn use_table_data<'hook, C, M>(
data: M,
) -> impl 'hook + Hook<Output = (UseTableData<C, M>, ExpansionCallback<M::Key, C>)>Expand description
ยงNote
When used in function components and hooks, this hook is equivalent to:
pub fn use_table_data<C, M>(
data: M,
) -> (UseTableData<C, M>, ExpansionCallback<M::Key, C>)
where
C: Clone + Eq + 'static,
M: PartialEq + Clone + TableDataModel<C> + 'static,
M::Key: Hash,
{
/* implementation omitted */
}