This is a type alias for the <Provider> component. Do not use this export, rather use <Provider>. The only purpose of this export is to ensure it is included in the documentation.
<Provider>
<script lang="ts"> import { Provider } from "@laserware/sword"; import { createStore } from "./my-redux-store"; import MyComponent from "./MyComponent.svelte" const store = createStore();</script><Provider {store}> <MyComponent /></Provider> Copy
<script lang="ts"> import { Provider } from "@laserware/sword"; import { createStore } from "./my-redux-store"; import MyComponent from "./MyComponent.svelte" const store = createStore();</script><Provider {store}> <MyComponent /></Provider>
This is a type alias for the
<Provider>
component. Do not use this export, rather use<Provider>
. The only purpose of this export is to ensure it is included in the documentation.