Function HistoryProvider

Source
pub fn HistoryProvider(_: HistoryProviderProps) -> Element
Expand description

A component that provides a History for all child [Router] components. Renderers generally provide a default history automatically.

ยงProps

For details, see the props struct definition.

  • history : Callback<(),Rc<dynHistory>>

    The history to provide to child components.

  • children : Element

    The children to render within the history provider.