Usage
useViewTransitionState(
into = NULL,
as = "children",
render = NULL,
to,
relative = NULL,
...
)Arguments
- into
A component (HTML tag or shiny.react-based element) that will receive the hook value as the specified prop.
- as
Character. The name of the component's prop to inject the hook value into. Defaults to
"children".- render
Optional
JSfunction(value) => ReactNodeused in place ofinto/as.- to
Character. The destination path being transitioned to.
- relative
Optional character. Either
"route"(default) or"path".- ...
Additional props to pass to the component.
