Stickers
Co-authored-by: scott@signal.org Co-authored-by: ken@signal.org
This commit is contained in:
parent
8c8856785b
commit
29de50c12a
100 changed files with 7572 additions and 693 deletions
16
ts/state/roots/createStickerManager.tsx
Normal file
16
ts/state/roots/createStickerManager.tsx
Normal file
|
@ -0,0 +1,16 @@
|
|||
import React from 'react';
|
||||
import { Provider } from 'react-redux';
|
||||
|
||||
import { Store } from 'redux';
|
||||
|
||||
import { SmartStickerManager } from '../smart/StickerManager';
|
||||
|
||||
// Workaround: A react component's required properties are filtering up through connect()
|
||||
// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/31363
|
||||
const FilteredStickerManager = SmartStickerManager as any;
|
||||
|
||||
export const createStickerManager = (store: Store) => (
|
||||
<Provider store={store}>
|
||||
<FilteredStickerManager />
|
||||
</Provider>
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue